Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
6183:b65c4378ecfe | 6184:4ba171d6d84a |
---|---|
1217 break; | 1217 break; |
1218 case CODEC_TYPE_SUBTITLE: | 1218 case CODEC_TYPE_SUBTITLE: |
1219 snprintf(buf, buf_size, "Subtitle: %s", codec_name); | 1219 snprintf(buf, buf_size, "Subtitle: %s", codec_name); |
1220 bitrate = enc->bit_rate; | 1220 bitrate = enc->bit_rate; |
1221 break; | 1221 break; |
1222 case CODEC_TYPE_ATTACHMENT: | |
1223 snprintf(buf, buf_size, "Attachment: %s", codec_name); | |
1224 bitrate = enc->bit_rate; | |
1225 break; | |
1222 default: | 1226 default: |
1223 snprintf(buf, buf_size, "Invalid Codec type %d", enc->codec_type); | 1227 snprintf(buf, buf_size, "Invalid Codec type %d", enc->codec_type); |
1224 return; | 1228 return; |
1225 } | 1229 } |
1226 if (encode) { | 1230 if (encode) { |