You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/mpeg12dec: Remove unused function parameter
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -395,7 +395,7 @@ static inline int get_dmv(MpegEncContext *s)
|
|||||||
#define MT_16X8 2
|
#define MT_16X8 2
|
||||||
#define MT_DMV 3
|
#define MT_DMV 3
|
||||||
|
|
||||||
static int mpeg_decode_mb(MpegEncContext *s, int16_t block[12][64])
|
static int mpeg_decode_mb(MPVContext *const s)
|
||||||
{
|
{
|
||||||
int i, j, k, cbp, val, mb_type, motion_type;
|
int i, j, k, cbp, val, mb_type, motion_type;
|
||||||
const int mb_block_count = 4 + (1 << s->chroma_format);
|
const int mb_block_count = 4 + (1 << s->chroma_format);
|
||||||
@ -1449,7 +1449,8 @@ static int mpeg_decode_slice(MpegEncContext *s, int mb_y,
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
if ((ret = mpeg_decode_mb(s, s->block)) < 0)
|
ret = mpeg_decode_mb(s);
|
||||||
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
// Note motion_val is normally NULL unless we want to extract the MVs.
|
// Note motion_val is normally NULL unless we want to extract the MVs.
|
||||||
|
Reference in New Issue
Block a user