Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Öman <andreas@olebyn.nu>2007-07-06 18:21:37 +0400
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2007-07-06 18:21:37 +0400
commit4691a77db4672026d62d524fd292fb17db6514b4 (patch)
tree5803600e73daef3c1117703b247c24a960d343ff /libavcodec/svq3.c
parent5084ed3a9f576654c7f31d48dcaa63b1d5e8724b (diff)
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.c2
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;