rtpdec_mpeg4: Check the remaining amount of data before reading
authorMartin Storsjö <martin@martin.st>
Tue, 15 Jan 2013 13:35:18 +0000 (15:35 +0200)
committerMartin Storsjö <martin@martin.st>
Wed, 16 Jan 2013 09:12:39 +0000 (11:12 +0200)
commita7ba3244131d96d9ab7a99ef30dc7276efd05cc7
tree711bdc173cde4ad0128660b070d9427bdb3867c7
parent977d4a3b8a2dbc2fb5e747c7072485016c9cdfaa
rtpdec_mpeg4: Check the remaining amount of data before reading

This fixes possible buffer overreads.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpdec_mpeg4.c