diff options
author | David Liu <david.liu@st.com> | 2008-06-25 12:30:35 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2008-06-25 12:30:35 +0000 |
commit | 7694a7d93f51adc4eea2f06974b741acb41875e5 (patch) | |
tree | 11879a6cc7cb5762c7ab1c6d3a94e1edc0f4555c | |
parent | c624c2195f563f4086df4cc3ec131fea9b287fe1 (diff) | |
download | ffmpeg-7694a7d93f51adc4eea2f06974b741acb41875e5.tar.gz |
Close parse context.
Patch by David LIU david liu st com
Originally committed as revision 13962 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/aac_ac3_parser.h | 2 | ||||
-rw-r--r-- | libavcodec/ac3_parser.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/aac_ac3_parser.h b/libavcodec/aac_ac3_parser.h index 2d60646a8d..d25502d721 100644 --- a/libavcodec/aac_ac3_parser.h +++ b/libavcodec/aac_ac3_parser.h @@ -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; diff --git a/libavcodec/ac3_parser.c b/libavcodec/ac3_parser.c index 6ed23d787a..a2f3c82f48 100644 --- a/libavcodec/ac3_parser.c +++ b/libavcodec/ac3_parser.c @@ -192,5 +192,5 @@ AVCodecParser ac3_parser = { sizeof(AACAC3ParseContext), ac3_parse_init, ff_aac_ac3_parse, - NULL, + ff_parse_close, }; |