# HG changeset patch # User benoit # Date 1214397035 0 # Node ID 1f85910c9ab22eacb392e4d971784538b043cc4a # Parent 186eb61a9860a5a88f57f0ba341146c65718b6bc Close parse context. Patch by David LIU david liu st com diff -r 186eb61a9860 -r 1f85910c9ab2 aac_ac3_parser.h --- a/aac_ac3_parser.h Wed Jun 25 12:08:39 2008 +0000 +++ b/aac_ac3_parser.h Wed Jun 25 12:30:35 2008 +0000 @@ -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 @@ int bit_rate; int samples; - ParseContext pc; int remaining_size; uint64_t state; diff -r 186eb61a9860 -r 1f85910c9ab2 ac3_parser.c --- a/ac3_parser.c Wed Jun 25 12:08:39 2008 +0000 +++ b/ac3_parser.c Wed Jun 25 12:30:35 2008 +0000 @@ -192,5 +192,5 @@ sizeof(AACAC3ParseContext), ac3_parse_init, ff_aac_ac3_parse, - NULL, + ff_parse_close, };