rtp: Don't read priv_data unless it is allocated
authorMartin Storsjö <martin@martin.st>
Thu, 20 Dec 2012 11:53:27 +0000 (13:53 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 20 Dec 2012 12:25:49 +0000 (14:25 +0200)
commita925f723a915bc0255e2673f8817af5212131763
treedf1e66aa744118c345025b2ad45484cbe15d19e8
parent1eaff98c8320d9ba48fbaec2a558f31f4104de98
rtp: Don't read priv_data unless it is allocated

This makes all users of rtpenc_chain (rtsp muxer, sapenc, mov
rtp hinting) work again, broken since 8034130e0.

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