AV_NUM_DATA_POINTERS instead of 4.
Unified · Split
| @@ -1527,7 +1527,7 @@ static int input_get_buffer(AVCodecContext *codec, AVFrame *pic) · 1526 unmodified lines | ||
| 1527 | 1527 | AVFilterContext *ctx = codec->opaque; |
| 1528 | 1528 | AVFilterBufferRef *ref; |
| 1529 | 1529 | int perms = AV_PERM_WRITE; |
| 1530 | − int i, w, h, stride[4]; | |
| 1530 | + int i, w, h, stride[AV_NUM_DATA_POINTERS]; | |
| 1531 | 1531 | unsigned edge; |
| 1532 | 1532 | int pixel_size; |
| 1533 | 1533 | |