On Fri, Nov 7, 2014 at 6:06 PM, Luca Barbato <[email protected]> wrote: > On 04/11/14 15:37, Vittorio Giovara wrote: >> >> CC: [email protected] >> Bug-Id: CID 1238789 >> --- >> libavcodec/mpegvideo.h | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h >> index 35ea5b1..77cb240 100644 >> --- a/libavcodec/mpegvideo.h >> +++ b/libavcodec/mpegvideo.h >> @@ -600,7 +600,7 @@ typedef struct MpegEncContext { >> int16_t (*pblocks[12])[64]; >> >> int16_t (*block)[64]; ///< points to one of the following blocks >> - int16_t (*blocks)[8][64]; // for HQ mode we need to keep the best >> block >> + int16_t (*blocks)[12][64]; // for HQ mode we need to keep the best >> block >> int (*decode_mb)(struct MpegEncContext *s, int16_t block[6][64]); // >> used by some codecs to avoid a switch() >> #define SLICE_OK 0 >> #define SLICE_ERROR -1 >> > > Ok if 12 is Ok (doublecheck). > > lu
Seems so, at least in "init_duplicate_context()" there is a loop hat explicitly iterates over 12 elements -- Vittorio _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
