# HG changeset patch # User michael # Date 1118347262 0 # Node ID 64333ef1ca2154a4ce1dcf18d31634eae1801441 # Parent a1f71e17054c992bca52cef868bafaeb156340b4 non-avc h264 stream problems patch by ("Ronald S. Bultje" rbultje, ronald bitfreak net) diff -r a1f71e17054c -r 64333ef1ca21 h264.c --- a/h264.c Wed Jun 08 00:40:41 2005 +0000 +++ b/h264.c Thu Jun 09 20:01:02 2005 +0000 @@ -7343,7 +7343,7 @@ } if(!h->is_avc && s->avctx->extradata_size && s->picture_number==0){ - if(0 < decode_nal_units(h, s->avctx->extradata, s->avctx->extradata_size) ) + if(decode_nal_units(h, s->avctx->extradata, s->avctx->extradata_size) < 0) return -1; }