diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-12 19:51:36 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-20 00:20:15 +0200 |
commit | 8edf6c3bf14dd9cd0086922f3a57eb4bef65c7e4 (patch) | |
tree | e17fd5f6440460e951fa73b0012a44b94394ec15 /libavcodec/mpeg12.c | |
parent | dd846bc4a9163f875cc2c4e99325c1a7b4ab8e7d (diff) | |
download | ffmpeg-8edf6c3bf14dd9cd0086922f3a57eb4bef65c7e4.tar.gz |
avcodec/(h263|mpeg4?video)_parser: Make *_find_frame_end() static
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 1aacd07e41..58e03c05d4 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -168,6 +168,7 @@ av_cold void ff_mpeg12_init_vlcs(void) ff_thread_once(&init_static_once, mpeg12_init_vlcs); } +#if FF_API_FLAG_TRUNCATED /** * Find the end of the current frame in the bitstream. * @return the position of the first byte of the next frame, or -1 @@ -231,6 +232,7 @@ int ff_mpeg1_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size, pc->state = state; return END_NOT_FOUND; } +#endif #define MAX_INDEX (64 - 1) |