diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-11-30 18:45:34 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-11-30 18:45:34 +0000 |
commit | 1b307febc4d44f094ae9ebe83a34d8810263b286 (patch) | |
tree | 13e0cdef77c11702b00083fbf1e99de6fc6443b7 | |
parent | 7ca60994f7560672343ae927e91bc50e2a068e8c (diff) | |
download | ffmpeg-1b307febc4d44f094ae9ebe83a34d8810263b286.tar.gz |
fixing playback of ftp://ftp.mplayerhq.hu/MPlayer/incoming/blender_raw.avi
Originally committed as revision 3723 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index a20169d5d2..a861c97c33 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -1785,7 +1785,7 @@ int av_find_stream_info(AVFormatContext *ic) for(i=0;i<ic->nb_streams;i++) { st = ic->streams[i]; if (st->codec.codec_type == CODEC_TYPE_VIDEO) { - if(st->codec.codec_id == CODEC_ID_RAWVIDEO && !st->codec.codec_tag) + if(st->codec.codec_id == CODEC_ID_RAWVIDEO && !st->codec.codec_tag && !st->codec.bits_per_sample) st->codec.codec_tag= avcodec_pix_fmt_to_codec_tag(st->codec.pix_fmt); /* set real frame rate info */ /* compute the real frame rate for telecine */ |