Commit 8d2d8170 authored by Clément Bœsch's avatar Clément Bœsch

Merge commit 'd59641ab'

* commit 'd59641ab':
  lavc: initialize AVCodecContext.sw_pix_fmt properly
Merged-by: 's avatarClément Bœsch <u@pkh.me>
parents 15f6e5f2 d59641ab
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment