Skip to content

Commit

Permalink
[coreVideoCodec/codecFFsimple] Set codec_tag in AVCodecContext, some …
Browse files Browse the repository at this point in the history
…decoders like utvideo rely on it
  • Loading branch information
eumagga0x2a committed Sep 16, 2020
1 parent 48495a3 commit 3b25717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avidemux_core/ADM_coreVideoCodec/src/ADM_codecFFsimple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ decoderFFSimple::decoderFFSimple (uint32_t w, uint32_t h,uint32_t fcc, uint32_t
_context->width = _w;
_context->height = _h;
_context->pix_fmt = AV_PIX_FMT_YUV420P;

_context->codec_tag = fcc;
_context->workaround_bugs=1*FF_BUG_AUTODETECT +0*FF_BUG_NO_PADDING;
_context->error_concealment=3;
// Hack
Expand Down

0 comments on commit 3b25717

Please sign in to comment.