Set protocol-level metadata in AVFormatContext any time a packet is read.
authorAndrew Stone <andrew@clovar.com>
Thu, 31 Jul 2014 23:56:37 +0000 (19:56 -0400)
committerAnton Khirnov <anton@khirnov.net>
Wed, 13 Aug 2014 16:10:49 +0000 (16:10 +0000)
commit019d3fccc4dcf5c8379112f697ce9eb08edee9b9
tree88fcfca58eb5508a5ca4c77aa4a8596d13db7548
parent7e38903b5c86a759549e70647ae42bb22d353b14
Set protocol-level metadata in AVFormatContext any time a packet is read.

If any option named "metadata" is set inside the context, it is pulled up to
the context and then the option is cleared.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/utils.c