Close parse context.

Patch by David LIU david liu st com

Originally committed as revision 13962 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
David Liu 2008-06-25 12:30:35 +00:00 committed by Benoit Fouet
parent c624c2195f
commit 7694a7d93f
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -192,5 +192,5 @@ AVCodecParser ac3_parser = {
sizeof(AACAC3ParseContext),
ac3_parse_init,
ff_aac_ac3_parse,
NULL,
ff_parse_close,
};