This is required to demux annexb samples when a decoder isn't available.
Signed-off-by: James Almer <jamrial@gmail.com>
#include "av1_parse.h"
#include "cbs.h"
#include "cbs_av1.h"
+#include "internal.h"
#include "parser.h"
typedef struct AV1ParseContext {
break;
}
av_assert2(ctx->format != AV_PIX_FMT_NONE);
+
+ if (ctx->width != avctx->width || ctx->height != avctx->height) {
+ ret = ff_set_dimensions(avctx, ctx->width, ctx->height);
+ if (ret < 0)
+ goto end;
+ }
}
if (avctx->framerate.num)