mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avplay: use the correct array size for stride.
AV_NUM_DATA_POINTERS instead of 4.
This commit is contained in:
parent
9bfe218299
commit
91b3bfba88
2
avplay.c
2
avplay.c
@ -1527,7 +1527,7 @@ static int input_get_buffer(AVCodecContext *codec, AVFrame *pic)
|
|||||||
AVFilterContext *ctx = codec->opaque;
|
AVFilterContext *ctx = codec->opaque;
|
||||||
AVFilterBufferRef *ref;
|
AVFilterBufferRef *ref;
|
||||||
int perms = AV_PERM_WRITE;
|
int perms = AV_PERM_WRITE;
|
||||||
int i, w, h, stride[4];
|
int i, w, h, stride[AV_NUM_DATA_POINTERS];
|
||||||
unsigned edge;
|
unsigned edge;
|
||||||
int pixel_size;
|
int pixel_size;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user