diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-08-13 11:32:10 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-08-16 23:07:25 +0200 |
commit | 4f00519d9508e07aac58a00a9b514dae8ad95723 (patch) | |
tree | 389556b9ed992e87d2c6bcc0b59a181d72bb242a /libavformat/rtpdec_h263.c | |
parent | 86ca51acb089e74d9b86dfbb25dce2c6b3568047 (diff) | |
download | ffmpeg-4f00519d9508e07aac58a00a9b514dae8ad95723.tar.gz |
Fix VC-1 width/height handling.
avcodec_set_dimensions should be used for size changes to ensure
compatibility with future changes.
avctx->width/avctx->height may not be set to display-only dimensions.
Even more so since vc1dec.c would later set coded_width/height based
on this.
coded_width/coded_height should be used instead of width/height for
decoder setup.
This fixes playback of e.g. zz-mcr-nsqr.vc1 sample (containing
display width/height settings) in MPlayer and should fix a crash
with MPC: http://forum.doom9.org/showthread.php?t=162221.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavformat/rtpdec_h263.c')
0 files changed, 0 insertions, 0 deletions