factorize code and add safety check to prevent memcpying negative amounts
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 13 Oct 2007 09:58:39 +0000 (09:58 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 13 Oct 2007 09:58:39 +0000 (09:58 +0000)
commit211dd1e81f3cbf3e4dd0cfad810bb4ba1362956d
tree2c1e6370330a586ad63d1c5ae12b28541c705432
parent0d43dd8c2d1e8dc7cf0bc65b95b7612cbe01c060
factorize code and add safety check to prevent memcpying negative amounts

Originally committed as revision 10722 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/aac_ac3_parser.c