Skip to content
Snippets Groups Projects
Commit 8d2d8170 authored by Clément Bœsch's avatar Clément Bœsch
Browse files

Merge commit 'd59641ab'


* commit 'd59641ab':
  lavc: initialize AVCodecContext.sw_pix_fmt properly

Merged-by: default avatarClément Bœsch <u@pkh.me>
parents 15f6e5f2 d59641ab
No related branches found
No related tags found
No related merge requests found
......@@ -119,6 +119,7 @@ static int init_context_defaults(AVCodecContext *s, const AVCodec *codec)
s->execute2 = avcodec_default_execute2;
s->sample_aspect_ratio = (AVRational){0,1};
s->pix_fmt = AV_PIX_FMT_NONE;
s->sw_pix_fmt = AV_PIX_FMT_NONE;
s->sample_fmt = AV_SAMPLE_FMT_NONE;
s->reordered_opaque = AV_NOPTS_VALUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment