rtpdec: Allow setting the need_parsing field in RTPDynamicProtocolHandler
authorMartin Storsjö <martin@martin.st>
Mon, 23 Feb 2015 19:35:48 +0000 (21:35 +0200)
committerMartin Storsjö <martin@martin.st>
Tue, 24 Feb 2015 14:22:21 +0000 (16:22 +0200)
commitb7a4c319fda22aa91ce29692d728ec6103b514f6
tree8e4275f0ffa0d3821f573d1492e2bcc3daf703d9
parentb651c9139e1ab222d5aab9151dcd7d6e40e49885
rtpdec: Allow setting the need_parsing field in RTPDynamicProtocolHandler

This allows getting rid of quite a bit of boilerplate in depacketizers.

The default value (initializing need_parsing to 0, aka
AVSTREAM_PARSE_NONE) is the same as it is initialized to by default
in AVStream.

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