From 6736db082ef0b8628d5d8a6da948115cd2c5e974 Mon Sep 17 00:00:00 2001 From: Johns Date: Tue, 14 Feb 2012 14:46:49 +0100 Subject: [PATCH] Fix bug: used frame-> instead of video_ctx->. --- ChangeLog | 4 ++++ video.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 25a2c13..84f77bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +User johns + + Fix bug: used frame-> instead of video_ctx-> for old libav/ffmpeg. + User johns Date: Mon Feb 13 23:20:26 CET 2012 diff --git a/video.c b/video.c index 26bdacf..234350a 100644 --- a/video.c +++ b/video.c @@ -6819,7 +6819,7 @@ static void VdpauRenderFrame(VdpauDecoder * decoder, } #else if (decoder->InputWidth && decoder->InputHeight - && av_cmp_q(decoder->InputAspect, frame->sample_aspect_ratio)) { + && av_cmp_q(decoder->InputAspect, video_ctx->sample_aspect_ratio)) { Debug(3, "video/vdpau: aspect ratio changed\n"); decoder->InputAspect = video_ctx->sample_aspect_ratio;