diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2011-04-14 13:32:36 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2011-05-03 11:51:55 +0200 |
commit | e3b540b42464395eadbc42b87331589e2e9e4301 (patch) | |
tree | de502df183f73318840ed448a7b1ba0446b0e98d /libavformat | |
parent | 4773d904211ec07688418eb9bb78df6467c1ca2f (diff) | |
download | ffmpeg-e3b540b42464395eadbc42b87331589e2e9e4301.tar.gz |
Make ffmpeg support generic data stream
The patch is the first step to support -dcodec copy
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/riff.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/riff.c b/libavformat/riff.c index c73152d40f..e17980a00a 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -578,6 +578,7 @@ void ff_parse_specific_params(AVCodecContext *stream, int *au_rate, int *au_ssiz *au_scale=stream->frame_size; *au_rate= stream->sample_rate; }else if(stream->codec_type == AVMEDIA_TYPE_VIDEO || + stream->codec_type == AVMEDIA_TYPE_DATA || stream->codec_type == AVMEDIA_TYPE_SUBTITLE){ *au_scale= stream->time_base.num; *au_rate = stream->time_base.den; |