aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264_parser.c
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2011-12-19 03:00:36 +0100
committerJanne Grunau <janne-libav@jannau.net>2011-12-19 03:24:32 +0100
commit358ea75e9ed7d86c58f6e7faf175faac68e140e9 (patch)
treee5f9bccaa1e9f1670daadde809483939e7ea0ae0 /libavcodec/h264_parser.c
parent7b3894bee9c9b970ff0b9eec9645c466e20e38a1 (diff)
downloadffmpeg-358ea75e9ed7d86c58f6e7faf175faac68e140e9.tar.gz
Revert "h264: skip start code search if the size of the nal unit is known"
This reverts commit 87eebb3454ff0cd6af6ebf9e1d31bdfd1c3b601b.
Diffstat (limited to 'libavcodec/h264_parser.c')
-rw-r--r--libavcodec/h264_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c
index 1967eface3..826c17a0f1 100644
--- a/libavcodec/h264_parser.c
+++ b/libavcodec/h264_parser.c
@@ -144,7 +144,7 @@ static inline int parse_nal_units(AVCodecParserContext *s,
src_length = 20;
break;
}
- ptr= ff_h264_decode_nal(h, buf, &dst_length, &consumed, src_length, 0);
+ ptr= ff_h264_decode_nal(h, buf, &dst_length, &consumed, src_length);
if (ptr==NULL || dst_length < 0)
break;