summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-17 20:56:30 +0200
committerMarton Balint <cus@passwd.hu>2012-06-17 21:36:58 +0200
commitdb835708757462539ce6c5180ad1c07dbfdd5425 (patch)
treec19e0fe8d174a5dce67ebc42d5aa9f3186cd304f /ffplay.c
parent8f45c3141c7056772ce9875151e3cf97b72398ea (diff)
ffplay: fix -vismv 1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 47e4b84cb3..55c7825ee3 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1699,7 +1699,7 @@ static int video_thread(void *arg)
frame->pts = pts_int;
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;
AVFilterBufferRef *fb = avfilter_get_video_buffer_ref_from_arrays(
frame->data, frame->linesize,