Browse Source

avplay: use the correct array size for stride.

AV_NUM_DATA_POINTERS instead of 4.
tags/n0.11
Anton Khirnov 13 years ago
parent
commit
91b3bfba88
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      avplay.c

+ 1
- 1
avplay.c View File

@@ -1527,7 +1527,7 @@ static int input_get_buffer(AVCodecContext *codec, AVFrame *pic)
AVFilterContext *ctx = codec->opaque;
AVFilterBufferRef *ref;
int perms = AV_PERM_WRITE;
int i, w, h, stride[4];
int i, w, h, stride[AV_NUM_DATA_POINTERS];
unsigned edge;
int pixel_size;



Loading…
Cancel
Save