summaryrefslogtreecommitdiff
path: root/libavcodec/h264dec.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-24 19:35:13 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-26 15:23:08 +0100
commitb531b58b2c9f684ad9408f878453e10908ca94de (patch)
tree3f4b34bb11407df2ced5e83dbc6495b3ab580d81 /libavcodec/h264dec.h
parent6c8e8418241551397bbb671b81430c8774d92a51 (diff)
downloadffmpeg-b531b58b2c9f684ad9408f878453e10908ca94de.tar.gz
avcodec/h264dec: Move find_start_code() to its only user
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/h264dec.h')
-rw-r--r--libavcodec/h264dec.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/libavcodec/h264dec.h b/libavcodec/h264dec.h
index 87c4e4e539..1128dddfd1 100644
--- a/libavcodec/h264dec.h
+++ b/libavcodec/h264dec.h
@@ -44,7 +44,6 @@
#include "h264pred.h"
#include "h264qpel.h"
#include "h274.h"
-#include "internal.h"
#include "mpegutils.h"
#include "parser.h"
#include "qpeldsp.h"
@@ -833,16 +832,6 @@ static av_always_inline int get_dct8x8_allowed(const H264Context *h, H264SliceCo
0x0001000100010001ULL));
}
-static inline int find_start_code(const uint8_t *buf, int buf_size,
- int buf_index, int next_avc)
-{
- uint32_t state = -1;
-
- buf_index = avpriv_find_start_code(buf + buf_index, buf + next_avc + 1, &state) - buf - 1;
-
- return FFMIN(buf_index, buf_size);
-}
-
int ff_h264_field_end(H264Context *h, H264SliceContext *sl, int in_setup);
int ff_h264_ref_picture(H264Context *h, H264Picture *dst, H264Picture *src);