sdp: Restore the original mp4 format h264 extradata if converted
authorMartin Storsjö <martin@martin.st>
Fri, 9 Dec 2011 19:00:09 +0000 (21:00 +0200)
committerMartin Storsjö <martin@martin.st>
Sat, 10 Dec 2011 23:37:26 +0000 (01:37 +0200)
commit0ebd4083e114a3c88c0e74852c10aeaea826d24d
treeb8bab91c6c5994bc295ca516a0e1392bf20adc30
parente0a3c287b41b0d9bb1d6e31de83a8e3ae898ba43
sdp: Restore the original mp4 format h264 extradata if converted

If the sdp is generated before the rtp muxer is initialized
(e.g. as when called from the rtsp muxer), this has to be done,
otherwise the rtp muxer doesn't know that the input really is
in mp4 format.

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