Commit 85297319 authored by Diego Elio Pettenò's avatar Diego Elio Pettenò Committed by Janne Grunau

Make ff_h264_decode_rbsp_trailing static to h264.c

Signed-off-by: 's avatarJanne Grunau <janne-ffmpeg@jannau.net>
parent 101e1f6f
...@@ -233,7 +233,11 @@ nsc: ...@@ -233,7 +233,11 @@ nsc:
return dst; 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 v= *src;
int r; int r;
......
...@@ -625,12 +625,6 @@ int ff_h264_decode_picture_parameter_set(H264Context *h, int bit_length); ...@@ -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); 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. * Free any data that may have been allocated in the H264 context like SPS, PPS etc.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment