Browse Source

opus_parser: make ParseContext the first element in OpusParseContext

ff_parse_close expects priv_data to be the ParseContext directly and
thus doesn't work if it isn't at the beginning of OpusParseContext.

Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
tags/n3.3
Andreas Cadhalpun 9 years ago
parent
commit
c085f1a7e1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/opus_parser.c

+ 1
- 1
libavcodec/opus_parser.c View File

@@ -31,10 +31,10 @@
#include "parser.h"

typedef struct OpusParseContext {
ParseContext pc;
OpusContext ctx;
OpusPacket pkt;
int extradata_parsed;
ParseContext pc;
int ts_framing;
} OpusParseContext;



Loading…
Cancel
Save