diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-01-28 19:30:30 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-01-28 19:45:45 +0100 |
commit | 91b3bfba88fc820623b75dea9caa9c11b68e2d09 (patch) | |
tree | 07836251595a6505f59108af1a52dab372b93475 | |
parent | 9bfe218299a1a206356c702c8651e5c6bdb0c009 (diff) | |
download | ffmpeg-91b3bfba88fc820623b75dea9caa9c11b68e2d09.tar.gz |
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; |