Check sub_packet_size against 0 to avoid div by zero later.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 29 Oct 2008 00:16:50 +0000 (00:16 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 29 Oct 2008 00:16:50 +0000 (00:16 +0000)
commitf23938f5b799e8859693aec1ce55ef04490c6aab
treedb81dc602aa9b8f05be70bc415e900de9a27858f
parent8ff8de73a4853a1f00baab707021bde7988f97bb
Check sub_packet_size against 0 to avoid div by zero later.
Fixes issue473

Originally committed as revision 15739 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rmdec.c