changeset 4274:39f62ce83e5a libavformat

Avoid allocating MPADecodeContext on stack. Instead move relevant fields into MPADecodeHeader and use it where appropriate.
author andoma
date Fri, 23 Jan 2009 12:09:32 +0000
parents ed5196e6e112
children 83918d72fa7d
files mp3.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mp3.c	Thu Jan 22 23:35:31 2009 +0000
+++ b/mp3.c	Fri Jan 23 12:09:32 2009 +0000
@@ -395,7 +395,7 @@
     uint32_t v, spf;
     int frames = -1; /* Total number of frames in file */
     const int64_t xing_offtbl[2][2] = {{32, 17}, {17,9}};
-    MPADecodeContext c;
+    MPADecodeHeader c;
     int vbrtag_size = 0;
 
     v = get_be32(s->pb);