rtph264pay: Protect against use of reserved NAL types
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 21 Sep 2018 20:22:43 +0000 (20:22 +0000)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 18 Dec 2018 18:30:05 +0000 (13:30 -0500)
commit13278fbcf5f5d76946427c0b2a5358550a78b86e
treef79ce05117c6afaac0fb9837a933390c8780193c
parent7aebe608099b8f88d3adc1ae837b713d8c7986a7
rtph264pay: Protect against use of reserved NAL types

Don't allow external encoder to use one of the reserved NAL type
implicated in NAL aggreation. These out-of-spec NAL types, if passed
from the outside world will lead to an invalid RTP payload being
created.
gst/rtp/gstrtph264pay.c