From f0cf313be02727654df42e242bd6b036df5e8b5e Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Sat, 25 Mar 2006 23:38:46 +0000 Subject: [PATCH] use correct ffmpeg width/height fields Originally committed to SVN as r241. --- core/video_provider_lavc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/video_provider_lavc.cpp b/core/video_provider_lavc.cpp index 3ef5ad1ea..6ebe6ab5d 100644 --- a/core/video_provider_lavc.cpp +++ b/core/video_provider_lavc.cpp @@ -450,14 +450,14 @@ int LAVCVideoProvider::GetHeight() { ////////////////////// // Get original width int LAVCVideoProvider::GetSourceWidth() { - return codecContext->coded_width; + return codecContext->width; } /////////////////////// // Get original height int LAVCVideoProvider::GetSourceHeight() { - return codecContext->coded_height; + return codecContext->height; }