1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-07-25 21:51:29 +02:00

Make ff_h264_decode_rbsp_trailing static to h264.c

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 8529731961)
This commit is contained in:
Diego Elio Pettenò 2011-01-25 02:29:42 +01:00 committed by Michael Niedermayer
parent d20d1449e0
commit 123241214c
2 changed files with 5 additions and 7 deletions

View File

@ -233,7 +233,11 @@ nsc:
return dst;
}
int ff_h264_decode_rbsp_trailing(H264Context *h, const uint8_t *src){
/**
* Identify the exact end of the bitstream
* @return the length of the trailing, or 0 if damaged
*/
static int ff_h264_decode_rbsp_trailing(H264Context *h, const uint8_t *src){
int v= *src;
int r;

View File

@ -625,12 +625,6 @@ int ff_h264_decode_picture_parameter_set(H264Context *h, int bit_length);
*/
const uint8_t *ff_h264_decode_nal(H264Context *h, const uint8_t *src, int *dst_length, int *consumed, int length);
/**
* Identify the exact end of the bitstream
* @return the length of the trailing, or 0 if damaged
*/
int ff_h264_decode_rbsp_trailing(H264Context *h, const uint8_t *src);
/**
* Free any data that may have been allocated in the H264 context like SPS, PPS etc.
*/