summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-11-09 23:31:46 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-11-09 23:31:46 +0000
commit4eff7cf42dbc39908cb529cdf2366b09b9ca3c1a (patch)
tree437f3353a41c2c5b7c70bd983c58e7708da90c51 /libavformat/utils.c
parentf6506a541aebfcb94c448925485b187c7e6cc7bd (diff)
porting png support from -f image to -f image2
Originally committed as revision 3665 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 1699734bcd..9c07d5f445 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -1739,6 +1739,7 @@ int av_find_stream_info(AVFormatContext *ic)
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_PNG ||
(st->codec.codec_id == CODEC_ID_MPEG4 && !st->need_parsing)))
try_decode_frame(st, pkt->data, pkt->size);