OSDN Git Service

rtpdec_h264: Check the available data length before reading
authorMartin Storsjö <martin@martin.st>
Fri, 4 May 2012 19:45:11 +0000 (22:45 +0300)
committerMartin Storsjö <martin@martin.st>
Sat, 5 May 2012 00:09:10 +0000 (03:09 +0300)
commit5245adb963e35660a70115c437cd67ea0c398885
treebd80425fc6866e398e6615f687f25f413c311ec6
parentde26a4b6993ff3dc91f17d110326736c96bfc9ec
rtpdec_h264: Check the available data length before reading

This makes sure the length is checked for STAP-A type packets.

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