mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
c624c2195f
commit
7694a7d93f
|
@ -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…
Reference in New Issue