From 6202e2fede75df92cbc374a3f7d6893d0c5ac721 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Sat, 19 Mar 2016 17:07:37 -0400 Subject: 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 --- libavcodec/ivi.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libavcodec/ivi.h') 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); -- cgit v1.2.3