Commit 7694a7d9 authored by David Liu's avatar David Liu Committed by Benoit Fouet

Close parse context.

Patch by David LIU david liu st com

Originally committed as revision 13962 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c624c219
......@@ -28,6 +28,7 @@
#include "parser.h"
typedef struct AACAC3ParseContext {
ParseContext pc;
int frame_size;
int header_size;
int (*sync)(uint64_t state, struct AACAC3ParseContext *hdr_info,
......@@ -38,7 +39,6 @@ typedef struct AACAC3ParseContext {
int bit_rate;
int samples;
ParseContext pc;
int remaining_size;
uint64_t state;
......
......@@ -192,5 +192,5 @@ AVCodecParser ac3_parser = {
sizeof(AACAC3ParseContext),
ac3_parse_init,
ff_aac_ac3_parse,
NULL,
ff_parse_close,
};
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