summaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gmail.com>2011-01-25 02:29:42 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-01-26 03:43:31 +0100
commit123241214cebfc4e55789f611fc09dc253dca39a (patch)
tree23d1b1267736b4408e632b2b2eb1ceec75af5cb6 /libavcodec/h264.c
parentd20d1449e0eea245c483c0b97faf38df5092ff2f (diff)
downloadffmpeg-streaming-123241214cebfc4e55789f611fc09dc253dca39a.zip
ffmpeg-streaming-123241214cebfc4e55789f611fc09dc253dca39a.tar.gz
Make ff_h264_decode_rbsp_trailing static to h264.c
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 8529731961d79fc0e747b16152df3d470b530537)
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index d56c293..25417f7 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;
OpenPOWER on IntegriCloud