You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
vc1dec: Use the right pointer type for the tmp pointer
This fixes warnings about assignment from incompatible pointer type. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -5426,13 +5426,12 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data,
|
|||||||
AVFrame *pict = data;
|
AVFrame *pict = data;
|
||||||
uint8_t *buf2 = NULL;
|
uint8_t *buf2 = NULL;
|
||||||
const uint8_t *buf_start = buf;
|
const uint8_t *buf_start = buf;
|
||||||
uint8_t *tmp;
|
|
||||||
int mb_height, n_slices1;
|
int mb_height, n_slices1;
|
||||||
struct {
|
struct {
|
||||||
uint8_t *buf;
|
uint8_t *buf;
|
||||||
GetBitContext gb;
|
GetBitContext gb;
|
||||||
int mby_start;
|
int mby_start;
|
||||||
} *slices = NULL;
|
} *slices = NULL, *tmp;
|
||||||
|
|
||||||
/* no supplementary picture */
|
/* no supplementary picture */
|
||||||
if (buf_size == 0 || (buf_size == 4 && AV_RB32(buf) == VC1_CODE_ENDOFSEQ)) {
|
if (buf_size == 0 || (buf_size == 4 && AV_RB32(buf) == VC1_CODE_ENDOFSEQ)) {
|
||||||
|
Reference in New Issue
Block a user