Make ff_h264_decode_rbsp_trailing static to h264.c

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
This commit is contained in:
Diego Elio Pettenò 2011-01-25 02:29:42 +01:00 committed by Janne Grunau
parent 101e1f6ff9
commit 8529731961
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.
*/