aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer2012-05-31 23:52:08 +0200
committerMichael Niedermayer2012-05-31 23:52:08 +0200
commit7cb86633622de22c8b6e43c9d608361e5adda740 (patch)
tree818eccc32ec2fe61d78dcd125f60e755ac8e1431 /libavcodec/h264.c
parent3c276ac0f8936745543d14674842647c502bdd2e (diff)
h264: Fail on DPC its not fully implemented
Fixes part of Ticket1369 Found-by: ami_stuff Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 7ebe3521b0..4e6d6a5684 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 &&