diff utils.c @ 581:03377d4de76a libavformat

porting png support from -f image to -f image2
author michael
date Tue, 09 Nov 2004 23:31:46 +0000
parents 8305c0755df7
children 7793767ffe35
line wrap: on
line diff
--- a/utils.c	Tue Nov 09 17:27:33 2004 +0000
+++ b/utils.c	Tue Nov 09 23:31:46 2004 +0000
@@ -1739,6 +1739,7 @@
              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);