Close parse context.

Patch by David LIU david liu st com

Originally committed as revision 13962 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
David Liu 17 years ago committed by Benoit Fouet
parent c624c2195f
commit 7694a7d93f
  1. 2
      libavcodec/aac_ac3_parser.h
  2. 2
      libavcodec/ac3_parser.c

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

Loading…
Cancel
Save