Showing the changes to libavdevice (1 of 1 file). Show all
Unified · Split
| @@ -937,8 +937,8 @@ static int v4l2_read_header(AVFormatContext *ctx) · 936 unmodified lines | ||
| 937 | 937 | |
| 938 | 938 | st->codecpar->format = ff_fmt_v4l2ff(desired_format, codec_id); |
| 939 | 939 | if (st->codecpar->format != AV_PIX_FMT_NONE) |
| 940 | − s->frame_size = av_image_get_buffer_size(st->codecpar->format, | |
| 941 | − s->width, s->height, 1); | |
| 940 | + s->frame_size = av_image_get_buffer_size(st->codecpar->format, | |
| 941 | + s->width, s->height, 1); | |
| 942 | 942 | |
| 943 | 943 | if ((res = mmap_init(ctx)) || |
| 944 | 944 | (res = mmap_start(ctx)) < 0) |