use correct ffmpeg width/height fields

Originally committed to SVN as r241.
This commit is contained in:
David Lamparter 2006-03-25 23:38:46 +00:00
parent 4036f73e43
commit f0cf313be0
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}