rtsp: Initialize the media_type_mask in the rtp guessing demuxer
authorMartin Storsjö <martin@martin.st>
Fri, 2 Dec 2011 09:06:18 +0000 (11:06 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 2 Dec 2011 09:52:47 +0000 (11:52 +0200)
commit30266038bdfdecd244edbd91f19e19cb159a74ab
tree5f03d6b439e7e2fd6f6db628f7fb82265c3b130d
parentd0fd6fc20130ef514df294727bf21d01ccbf588c
rtsp: Initialize the media_type_mask in the rtp guessing demuxer

The media_type_mask is initialized via AVOptions for the
rtsp and sdp demuxers, but it isn't available as an option
for the rtp guessing demuxer (since it doesn't really make
sense there). Therefore, it must be manually initialized
instead, since a zero value means no media types at all
are accepted.

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