diff options
author | Andreas Öman <andreas@olebyn.nu> | 2007-07-06 14:21:37 +0000 |
---|---|---|
committer | Guillaume Poirier <gpoirier@mplayerhq.hu> | 2007-07-06 14:21:37 +0000 |
commit | 4691a77db4672026d62d524fd292fb17db6514b4 (patch) | |
tree | 5803600e73daef3c1117703b247c24a960d343ff /libavcodec/svq3.c | |
parent | 5084ed3a9f576654c7f31d48dcaa63b1d5e8724b (diff) | |
download | ffmpeg-4691a77db4672026d62d524fd292fb17db6514b4.tar.gz |
Add support for streams with different chroma_qp_index_offset
for Cr and Cb
Patch by Andreas Öman % andreas A olebyn P nu %
Original thread:
Date: Jun 26, 2007 8:48 PM
subject: [FFmpeg-devel] Color corruption and seeking errors with H264 disc sources
Originally committed as revision 9505 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/svq3.c')
-rw-r--r-- | libavcodec/svq3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index b463bc809d..59974fa749 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -807,7 +807,7 @@ static int svq3_decode_frame (AVCodecContext *avctx, h->halfpel_flag = 1; h->thirdpel_flag = 1; h->unknown_svq3_flag = 0; - h->chroma_qp = 4; + h->chroma_qp[0] = h->chroma_qp[1] = 4; if (MPV_common_init (s) < 0) return -1; |