History

avplay: use the correct array size for stride.

AV_NUM_DATA_POINTERS instead of 4.

Anton Khirnov committed 14 years ago

Commit 91b3bfb1 parent 9bfe2181 file · +1 −1Browse files

Unified · Split

avplay.c+1−1
@@ -1527,7 +1527,7 @@ static int input_get_buffer(AVCodecContext *codec, AVFrame *pic) · 1526 unmodified lines
15271527 AVFilterContext *ctx = codec->opaque;
15281528 AVFilterBufferRef *ref;
15291529 int perms = AV_PERM_WRITE;
1530− int i, w, h, stride[4];
1530+ int i, w, h, stride[AV_NUM_DATA_POINTERS];
15311531 unsigned edge;
15321532 int pixel_size;
15331533

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t