diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-01-28 22:30:30 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-01-28 22:45:45 +0400 |
commit | 91b3bfba88fc820623b75dea9caa9c11b68e2d09 (patch) | |
tree | 07836251595a6505f59108af1a52dab372b93475 | |
parent | 9bfe218299a1a206356c702c8651e5c6bdb0c009 (diff) |
avplay: use the correct array size for stride.
AV_NUM_DATA_POINTERS instead of 4.
-rw-r--r-- | avplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |