[FFmpeg-cvslog] h264: Fail on DPC its not fully implemented

Michael Niedermayer git at videolan.org
Fri Jun 1 00:14:22 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu May 31 23:52:08 2012 +0200| [7cb86633622de22c8b6e43c9d608361e5adda740] | committer: Michael Niedermayer

h264: Fail on DPC its not fully implemented

Fixes part of Ticket1369

Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7cb86633622de22c8b6e43c9d608361e5adda740
---

 libavcodec/h264.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 7ebe352..4e6d6a5 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -4399,6 +4399,9 @@ again:
                 init_get_bits(&hx->inter_gb, ptr, bit_length);
                 hx->inter_gb_ptr = &hx->inter_gb;
 
+                av_log(h->s.avctx, AV_LOG_ERROR, "Partitioned H.264 support is incomplete\n");
+                return AVERROR_PATCHWELCOME;
+
                 if (hx->redundant_pic_count == 0 &&
                     hx->intra_gb_ptr &&
                     hx->s.data_partitioning &&



More information about the ffmpeg-cvslog mailing list