aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegutils.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-09 08:40:20 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-20 18:58:38 +0200
commit952a32e9a0b10bac36a0a2fee631c97ef5175304 (patch)
treef0a4874e8ef85ddb77f022b5c96c8b2a65bd04a1 /libavcodec/mpegutils.h
parentb2195a238c330e960700f8821e9c0751ee77946d (diff)
downloadffmpeg-952a32e9a0b10bac36a0a2fee631c97ef5175304.tar.gz
avcodec/mpegutils: Don't output wrong mb skip values
The earlier code had two problems: 1. For reference frames that are not directly output (happens unless low_delay is set), the mb skip values referred to the next reference frame to be decoded. 2. For non-reference frames, every macroblock was always considered skipped. This makes the output (worse than) useless; that no one ever complained about this shows that this feature is not really used. It is therefore removed. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mpegutils.h')
-rw-r--r--libavcodec/mpegutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegutils.h b/libavcodec/mpegutils.h
index c82e07ebd7..e4ce26d299 100644
--- a/libavcodec/mpegutils.h
+++ b/libavcodec/mpegutils.h
@@ -106,7 +106,7 @@ void ff_draw_horiz_band(AVCodecContext *avctx, const AVFrame *cur, const AVFrame
* Print debugging info for the given picture.
*/
void ff_print_debug_info2(AVCodecContext *avctx, AVFrame *pict,
- const uint8_t *mbskip_table, const uint32_t *mbtype_table,
+ const uint32_t *mbtype_table,
const int8_t *qscale_table, int16_t (*const motion_val[2])[2],
int mb_width, int mb_height, int mb_stride, int quarter_sample);