1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-08 13:22:53 +02:00

ffplay: fix -vismv 1

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
Michael Niedermayer 2012-06-17 20:56:30 +02:00 committed by Marton Balint
parent 8f45c3141c
commit db83570875

View File

@ -1699,7 +1699,7 @@ static int video_thread(void *arg)
frame->pts = pts_int; frame->pts = pts_int;
frame->sample_aspect_ratio = av_guess_sample_aspect_ratio(is->ic, is->video_st, frame); frame->sample_aspect_ratio = av_guess_sample_aspect_ratio(is->ic, is->video_st, frame);
if (is->use_dr1) { if (is->use_dr1 && frame->opaque) {
FrameBuffer *buf = frame->opaque; FrameBuffer *buf = frame->opaque;
AVFilterBufferRef *fb = avfilter_get_video_buffer_ref_from_arrays( AVFilterBufferRef *fb = avfilter_get_video_buffer_ref_from_arrays(
frame->data, frame->linesize, frame->data, frame->linesize,