mpegts: use avcodec_get_type() to set codec_type
authorwm4 <nfxjfg@googlemail.com>
Sat, 26 Sep 2015 16:42:51 +0000 (18:42 +0200)
committerAnton Khirnov <anton@khirnov.net>
Mon, 28 Sep 2015 08:50:50 +0000 (10:50 +0200)
Note that this slightly changes behavior: it sets AVMEDIA_TYPE_UNKNOWN
if the codec type is unknown. This should be ok.

Signed-off-by: Anton Khirnov <anton@khirnov.net>

No differences found