diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2012-10-25 14:05:40 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2012-10-29 12:03:28 +0100 |
commit | d4bff9f1ab59f4ae58841bd7b056f2ff1b8854d7 (patch) | |
tree | 1f57fef0411d5b6fee53811db0cef9bdead80dc7 /libavformat/nutdec.c | |
parent | 07585ffa62eebebcd35326935fec7cd948021daf (diff) | |
download | ffmpeg-d4bff9f1ab59f4ae58841bd7b056f2ff1b8854d7.tar.gz |
nut: support textual data
Plain text (utf8 encoded) data can be muxed and demuxed in nut.
Diffstat (limited to 'libavformat/nutdec.c')
-rw-r--r-- | libavformat/nutdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index 9b1891f92e..9ce05191a9 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -371,6 +371,7 @@ static int decode_stream_header(NUTContext *nut) break; case 3: st->codec->codec_type = AVMEDIA_TYPE_DATA; + st->codec->codec_id = ff_codec_get_id(ff_nut_data_tags, tmp); break; default: av_log(s, AV_LOG_ERROR, "unknown stream class (%d)\n", class); |