aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h263_parser.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-01-09 11:22:39 -0300
committerAnton Khirnov <anton@khirnov.net>2023-02-09 15:35:14 +0100
commit3ceffe783965767e62d59e8e68ecd265c98460ec (patch)
tree969d9bac9d858f6749ab62180960cf3af9cc4df6 /libavcodec/h263_parser.c
parent5f9e848e686a3c0795939809712b260af5c1adb8 (diff)
downloadffmpeg-3ceffe783965767e62d59e8e68ecd265c98460ec.tar.gz
avcodec: remove FF_API_FLAG_TRUNCATED
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/h263_parser.c')
-rw-r--r--libavcodec/h263_parser.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/libavcodec/h263_parser.c b/libavcodec/h263_parser.c
index 7a742caa80..f70a791177 100644
--- a/libavcodec/h263_parser.c
+++ b/libavcodec/h263_parser.c
@@ -25,16 +25,9 @@
*/
#include "parser.h"
-#if FF_API_FLAG_TRUNCATED
-/* Nuke this header when removing FF_API_FLAG_TRUNCATED */
-#include "h263_parser.h"
-
-int ff_h263_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size){
-#else
static int h263_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size)
{
-#endif
int vop_found, i;
uint32_t state;
@@ -80,11 +73,7 @@ static int h263_parse(AVCodecParserContext *s,
if (s->flags & PARSER_FLAG_COMPLETE_FRAMES) {
next = buf_size;
} else {
-#if FF_API_FLAG_TRUNCATED
- next= ff_h263_find_frame_end(pc, buf, buf_size);
-#else
next = h263_find_frame_end(pc, buf, buf_size);
-#endif
if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
*poutbuf = NULL;