rtpdec: Use 4 byte startcodes for H.264
authorMatthew Szatmary <szatmary@gmail.com>
Wed, 8 Feb 2012 13:00:40 +0000 (15:00 +0200)
committerMartin Storsjö <martin@martin.st>
Mon, 13 Feb 2012 21:05:10 +0000 (23:05 +0200)
commit7dfe8f55575a3ae0fdd6f0678fa9627122580b07
tree4688bc28c7f12d0f3c5e0c000f86c9b8802880a8
parent529506b5f618bde1e6a2255b5320501d8e824fc7
rtpdec: Use 4 byte startcodes for H.264

If muxing into mpegts, 4 byte startcodes for the first NAL
of an access unit is required. Thus it is simplest for the
RTP depacketizer to just use 4 byte startcodes everywhere.

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