aboutsummaryrefslogtreecommitdiff
path: root/libavformat/nutdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer2008-03-02 23:11:36 +0000
committerMichael Niedermayer2008-03-02 23:11:36 +0000
commita048febdc4fb0e48f8c47857a1ea1694ede05b9d (patch)
tree240605bb25ea764f3cf1c396b8d23580a7c83905 /libavformat/nutdec.c
parentc6eed369d2b79e931844114808d4ad67511a3385 (diff)
subtitles (codec tag tables still missing ...)
Originally committed as revision 12292 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nutdec.c')
-rw-r--r--libavformat/nutdec.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index e072e7ed76..e584ac521d 100644
--- a/libavformat/nutdec.c
+++ b/libavformat/nutdec.c
@@ -325,8 +325,11 @@ static int decode_stream_header(NUTContext *nut){
av_log(s, AV_LOG_ERROR, "Unknown codec?!\n");
break;
case 2:
-// st->codec->codec_type = CODEC_TYPE_TEXT;
-// break;
+ st->codec->codec_type = CODEC_TYPE_SUBTITLE;
+// st->codec->codec_id = codec_get_id(codec_wav_tags, tmp); FIXME
+ if (st->codec->codec_id == CODEC_ID_NONE)
+ av_log(s, AV_LOG_ERROR, "Unknown codec?!\n");
+ break;
case 3:
st->codec->codec_type = CODEC_TYPE_DATA;
break;