Commit 2bdcfea5 authored by benoit's avatar benoit

Close parse context.

Patch by David LIU david liu st com


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13962 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4fbef590
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "parser.h" #include "parser.h"
typedef struct AACAC3ParseContext { typedef struct AACAC3ParseContext {
ParseContext pc;
int frame_size; int frame_size;
int header_size; int header_size;
int (*sync)(uint64_t state, struct AACAC3ParseContext *hdr_info, int (*sync)(uint64_t state, struct AACAC3ParseContext *hdr_info,
...@@ -38,7 +39,6 @@ typedef struct AACAC3ParseContext { ...@@ -38,7 +39,6 @@ typedef struct AACAC3ParseContext {
int bit_rate; int bit_rate;
int samples; int samples;
ParseContext pc;
int remaining_size; int remaining_size;
uint64_t state; uint64_t state;
......
...@@ -192,5 +192,5 @@ AVCodecParser ac3_parser = { ...@@ -192,5 +192,5 @@ AVCodecParser ac3_parser = {
sizeof(AACAC3ParseContext), sizeof(AACAC3ParseContext),
ac3_parse_init, ac3_parse_init,
ff_aac_ac3_parse, 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