aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2008-01-27 15:43:17 +0000
committerAurelien Jacobs <aurel@gnuage.org>2008-01-27 15:43:17 +0000
commitf8d7c9d373a8aeede75454a5d51de958b2321478 (patch)
tree3417638f4bcfd2656c2bc4dad32b30b77bdd5975 /libavcodec/utils.c
parent20963a71565b3d11815d0f9914c16aab873bd58b (diff)
downloadffmpeg-f8d7c9d373a8aeede75454a5d51de958b2321478.tar.gz
Add support for Matroska attachments.
patch by eugeni _dot_ stepanov _at_ gmail.com and myself Originally committed as revision 11635 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 4a8cb8a603..4ebc7c324b 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1219,6 +1219,10 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode)
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;