diff options
author | Martin Storsjö <martin@martin.st> | 2013-09-24 12:02:39 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-10-05 00:31:20 +0300 |
commit | 42c7ed49a9e4cd5fdeb1306e8e09a96a4c7dbbbb (patch) | |
tree | 6fd546f87a24d329e8d2c69cd67a11d077604c4c /libavcodec/dxva2_vc1.c | |
parent | 9597807ab1979a71483d6e0c5d18054cf9c11bba (diff) | |
download | ffmpeg-42c7ed49a9e4cd5fdeb1306e8e09a96a4c7dbbbb.tar.gz |
mpegvideo: Initialize chroma_*_shift and codec_tag even if the size is 0
This fixes breakage in a few fate tests on certain setups
(that for some reason didn't break on OS X) after the previous
commit (8812a8057). Currently, some video streams are initialized
in ff_MPV_common_init with width/height set at 0 and only changed
to a proper video size with ff_MPV_common_frame_size_change later.
The breakage was diagnosed by Anton Khirnov.
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 5f24fe82e5fcf227abb5ebf62aa9bc246fda8c0d)
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/dxva2_vc1.c')
0 files changed, 0 insertions, 0 deletions