]> git.sesse.net Git - ffmpeg/commit
The AAC frame header uses 13 bits for the frame size, so the buffer should
authorMåns Rullgård <mans@mansr.com>
Fri, 16 Jun 2006 20:41:33 +0000 (20:41 +0000)
committerMåns Rullgård <mans@mansr.com>
Fri, 16 Jun 2006 20:41:33 +0000 (20:41 +0000)
commit4f8ff17e7597584a6dc581b427a47615afb5bf3a
tree304fb0d433745e65d1f80faa67081c909b194f98
parent57bd82d4e75bf1542d92e7df9edbdcf18f324be1
The AAC frame header uses 13 bits for the frame size, so the buffer should
have room for such a frame.  A frame that large seems unlikely in a valid
file, but leaving room for it spares us the need to check it elsewhere.
Moving the buffer to the end of the struct made debugging this easier.

Originally committed as revision 5487 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/parser.c