This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 224473b676173a651d52d0b56a92c9c5ddbb5eae Author: Andreas Rheinhardt <[email protected]> AuthorDate: Wed Jun 25 07:22:06 2025 +0200 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Fri Jan 2 18:30:43 2026 +0100 avcodec/wmv2dec: Don't put skip_type in context Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavcodec/wmv2dec.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavcodec/wmv2dec.c b/libavcodec/wmv2dec.c index 5bac48385f..f4b4b4ac84 100644 --- a/libavcodec/wmv2dec.c +++ b/libavcodec/wmv2dec.c @@ -51,7 +51,6 @@ typedef struct WMV2DecContext { int cbp_table_index; int top_left_mv_flag; int per_mb_rl_bit; - int skip_type; DECLARE_ALIGNED(32, int16_t, abt_block2)[6][64]; } WMV2DecContext; @@ -106,8 +105,8 @@ static int parse_mb_skip(WMV2DecContext *w) int coded_mb_count = 0; uint32_t *const mb_type = h->c.cur_pic.mb_type; - w->skip_type = get_bits(&h->gb, 2); - switch (w->skip_type) { + int skip_type = get_bits(&h->gb, 2); + switch (skip_type) { case SKIP_TYPE_NONE: for (int mb_y = 0; mb_y < h->c.mb_height; mb_y++) for (int mb_x = 0; mb_x < h->c.mb_width; mb_x++) _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
