rtpdec_h264: Free old extradata before clearing the pointer
authorMartin Storsjö <martin@martin.st>
Sat, 5 May 2012 13:55:20 +0000 (16:55 +0300)
committerMartin Storsjö <martin@martin.st>
Sat, 5 May 2012 19:11:45 +0000 (22:11 +0300)
commitb97d21e4d6813498f458777ff42c7eab1eed3adf
tree849a289ca8b6d2f48fc2b9381dea17c9e2d9dd41
parent3c148703f61d8862eb623484da1c679d55860148
rtpdec_h264: Free old extradata before clearing the pointer

This avoids memory leaks if there actually was some extradata
set before.

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