[FFmpeg-trac] #2452(undetermined:new): decoding yuv420p to rgb shifts luminance down
FFmpeg
trac at avcodec.org
Mon Aug 5 18:53:16 CEST 2013
#2452: decoding yuv420p to rgb shifts luminance down
-------------------------------------+-------------------------------------
Reporter: burek | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by cehoyos):
Could you confirm that the following patch (against current git head)
"fixes" decoding of your samples?
{{{
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index bf9e072..85ca4b2 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -770,7 +770,7 @@ const enum AVPixelFormat
ff_h263_hwaccel_pixfmt_list_420[] = {
#if CONFIG_VDPAU
AV_PIX_FMT_VDPAU,
#endif
- AV_PIX_FMT_YUV420P,
+ AV_PIX_FMT_YUVJ420P,
AV_PIX_FMT_NONE
};
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2452#comment:11>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list