Browse Source

Make ff_h264_decode_rbsp_trailing static to h264.c

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 8529731961)
tags/n0.8
Diego Elio Pettenò Michael Niedermayer 15 years ago
parent
commit
123241214c
2 changed files with 5 additions and 7 deletions
  1. +5
    -1
      libavcodec/h264.c
  2. +0
    -6
      libavcodec/h264.h

+ 5
- 1
libavcodec/h264.c 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;



+ 0
- 6
libavcodec/h264.h 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.
*/


Loading…
Cancel
Save