diff utils.c @ 497:d95e74ef39e0 libavformat

image2 / image API cleanup phase-1 with this its possible to encode&decode any video codec to individual (1 file per frame) files
author michael
date Thu, 15 Jul 2004 18:32:54 +0000
parents e25b5ad6603e
children 813b0119a98e
line wrap: on
line diff
--- a/utils.c	Wed Jul 14 01:32:14 2004 +0000
+++ b/utils.c	Thu Jul 15 18:32:54 2004 +0000
@@ -1641,6 +1641,7 @@
              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);