diff options
author | Janne Grunau <janne-libav@jannau.net> | 2011-12-19 03:00:36 +0100 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2011-12-19 03:24:32 +0100 |
commit | 358ea75e9ed7d86c58f6e7faf175faac68e140e9 (patch) | |
tree | e5f9bccaa1e9f1670daadde809483939e7ea0ae0 /libavcodec/h264.h | |
parent | 7b3894bee9c9b970ff0b9eec9645c466e20e38a1 (diff) | |
download | ffmpeg-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.h')
-rw-r--r-- | libavcodec/h264.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 24da4f5eac..50255389fa 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -610,12 +610,9 @@ int ff_h264_decode_picture_parameter_set(H264Context *h, int bit_length); * @param consumed is the number of bytes used as input * @param length is the length of the array * @param dst_length is the number of decoded bytes FIXME here or a decode rbsp tailing? - * @param nalsize_known skip start code search if the size of the nalu is known * @return decoded bytes, might be src+1 if no escapes */ -const uint8_t *ff_h264_decode_nal(H264Context *h, const uint8_t *src, - int *dst_length, int *consumed, int length, - int nalsize_known); +const uint8_t *ff_h264_decode_nal(H264Context *h, const uint8_t *src, int *dst_length, int *consumed, int length); /** * Free any data that may have been allocated in the H264 context like SPS, PPS etc. |