diff utils.c @ 6184:4ba171d6d84a libavcodec

Add support for Matroska attachments. patch by eugeni _dot_ stepanov _at_ gmail.com and myself
author aurel
date Sun, 27 Jan 2008 15:43:17 +0000
parents 75804d49f33b
children a0a645626940
line wrap: on
line diff
--- a/utils.c	Sun Jan 27 14:52:58 2008 +0000
+++ b/utils.c	Sun Jan 27 15:43:17 2008 +0000
@@ -1219,6 +1219,10 @@
         snprintf(buf, buf_size, "Subtitle: %s", codec_name);
         bitrate = enc->bit_rate;
         break;
+    case CODEC_TYPE_ATTACHMENT:
+        snprintf(buf, buf_size, "Attachment: %s", codec_name);
+        bitrate = enc->bit_rate;
+        break;
     default:
         snprintf(buf, buf_size, "Invalid Codec type %d", enc->codec_type);
         return;