aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-07-15 18:32:54 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-07-15 18:32:54 +0000
commit03cfe134ca7b07edfdcfa269ac12da52aa363cc3 (patch)
tree62b6a876c0405022ffe81ed02230fbf5b41c0073 /libavformat/utils.c
parent1260756d2b9ba41e16724cbf477d3a34cada5bb1 (diff)
downloadffmpeg-03cfe134ca7b07edfdcfa269ac12da52aa363cc3.tar.gz
image2 / image API cleanup phase-1
with this its possible to encode&decode any video codec to individual (1 file per frame) files Originally committed as revision 3319 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index aa02235bb8..04e11e2070 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -1641,6 +1641,7 @@ int av_find_stream_info(AVFormatContext *ic)
st->codec.codec_id == CODEC_ID_H264 ||
st->codec.codec_id == CODEC_ID_H263 ||
st->codec.codec_id == CODEC_ID_VORBIS ||
+ st->codec.codec_id == CODEC_ID_MJPEG ||
(st->codec.codec_id == CODEC_ID_MPEG4 && !st->need_parsing)))
try_decode_frame(st, pkt->data, pkt->size);