diff options
author | Diego Elio Pettenò <flameeyes@gmail.com> | 2011-01-25 02:29:42 +0100 |
---|---|---|
committer | Janne Grunau <janne-ffmpeg@jannau.net> | 2011-01-25 21:48:03 +0100 |
commit | 8529731961d79fc0e747b16152df3d470b530537 (patch) | |
tree | 7dc27f8cca255695086044baa4cd54d3487adb25 /libavcodec/h264.c | |
parent | 101e1f6ff90c3365bfde05469ae26d2ee7f71f3e (diff) | |
download | ffmpeg-8529731961d79fc0e747b16152df3d470b530537.tar.gz |
Make ff_h264_decode_rbsp_trailing static to h264.c
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index d56c29331e..25417f7c4a 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -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; |