Remove printfs in mk_createAttachment()
authorNathan Caldwell <saintdev@gmail.com>
Tue, 13 Jan 2009 05:39:29 +0000 (12 22:39 -0700)
committerNathan Caldwell <saintdev@gmail.com>
Tue, 13 Jan 2009 05:39:29 +0000 (12 22:39 -0700)
src/attachments.c

index 0f730a7..e9b1c27 100644 (file)
@@ -40,18 +40,14 @@ int mk_createAttachment(
         */
        file_uid = random();
 
-printf("2att %p\n", w->attachments);
        if (w->attachments == NULL) {
-printf("create attachments context\n");
                /* Attachments */
                if ((w->attachments = mk_createContext(w, w->root, MATROSKA_ID_ATTACHMENTS)) == NULL)
                        return -1;
        }
        /* AttachedFile */
-printf("create attachedfile context\n");
        if ((attach = mk_createContext(w, w->attachments, MATROSKA_ID_ATTACHEDFILE)) == NULL)
                return -1;
-printf("done attachedfile context\n");
 
        /* FileName */
        CHECK(mk_writeStr(attach, MATROSKA_ID_FILENAME, name));