Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-12-09 02:01:35 +0300
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-12-10 15:36:57 +0300
commitc085f1a7e1030aabd175c8438dab7ca6fad9e98f (patch)
treeaf76f5abbc98960955d267771217e0c750eb0ad4 /libavcodec
parent7d3baebe408cb7377dbb6fa1a7fd285e8e366440 (diff)
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>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/opus_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/opus_parser.c b/libavcodec/opus_parser.c
index c30fd7bbd4..893573eb82 100644
--- a/libavcodec/opus_parser.c
+++ b/libavcodec/opus_parser.c
@@ -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;