History

avcodec/mpeg12dec: Remove unused function parameter

Andreas Rheinhardt committed 1 year ago

Commit 86ee71f1 parent b38f2361 file · +3 −2Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/mpeg12dec.c+3−2
@@ -395,7 +395,7 @@ static inline int get_dmv(MpegEncContext *s) · 394 unmodified lines
395395 #define MT_16X8 2
396396 #define MT_DMV 3
397397
398−static int mpeg_decode_mb(MpegEncContext *s, int16_t block[12][64])
398+static int mpeg_decode_mb(MPVContext *const s)
399399 {
400400 int i, j, k, cbp, val, mb_type, motion_type;
401401 const int mb_block_count = 4 + (1 << s->chroma_format);
@@ -1449,7 +1449,8 @@ static int mpeg_decode_slice(MpegEncContext *s, int mb_y, · 1047 unmodified lines
14491449 }
14501450
14511451 for (;;) {
1452− if ((ret = mpeg_decode_mb(s, s->block)) < 0)
1452+ ret = mpeg_decode_mb(s);
1453+ if (ret < 0)
14531454 return ret;
14541455
14551456 // Note motion_val is normally NULL unless we want to extract the MVs.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t