Make ff_h264_decode_rbsp_trailing static to h264.c
[ffmpeg.git] / libavcodec / h264.c
index d56c293..25417f7 100644 (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;