From e3b540b42464395eadbc42b87331589e2e9e4301 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Thu, 14 Apr 2011 13:32:36 +0200 Subject: Make ffmpeg support generic data stream The patch is the first step to support -dcodec copy --- libavformat/riff.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/riff.c') 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; -- cgit v1.2.3