diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-03-19 17:07:37 -0400 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-03-22 16:03:52 -0400 |
commit | 6202e2fede75df92cbc374a3f7d6893d0c5ac721 (patch) | |
tree | eb7c278ea7504620db09b5b6d0cd9737f261e65f /libavcodec/ivi.h | |
parent | 4426540f0c3ee516662f79d0a6ab5b95503b6611 (diff) | |
download | ffmpeg-6202e2fede75df92cbc374a3f7d6893d0c5ac721.tar.gz |
indeo4: Rework stream analysis report
* Change log level from error to debug
* Print report after the first decoded frame, not at the end of decoding
* Drop macro guard and use a context variable instead
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavcodec/ivi.h')
-rw-r--r-- | libavcodec/ivi.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/ivi.h b/libavcodec/ivi.h index 5dadd9f4a5..c403739474 100644 --- a/libavcodec/ivi.h +++ b/libavcodec/ivi.h @@ -47,7 +47,6 @@ enum { }; #define IVI_VLC_BITS 13 ///< max number of bits of the ivi's huffman codes -#define IVI4_STREAM_ANALYSER 0 #define IVI5_IS_PROTECTED 0x20 /** @@ -249,13 +248,12 @@ typedef struct IVI45DecContext { uint8_t gop_flags; uint32_t lock_word; -#if IVI4_STREAM_ANALYSER + int show_indeo4_info; uint8_t has_b_frames; uint8_t has_transp; uint8_t uses_tiling; uint8_t uses_haar; uint8_t uses_fullpel; -#endif int (*decode_pic_hdr) (struct IVI45DecContext *ctx, AVCodecContext *avctx); int (*decode_band_hdr) (struct IVI45DecContext *ctx, IVIBandDesc *band, AVCodecContext *avctx); |