ffserver: check for codec match using AVStream.codecpar
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Tue, 8 Nov 2016 00:24:32 +0000 (16:24 -0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 8 Nov 2016 11:11:57 +0000 (12:11 +0100)
commit311107a65d0105044d1691b5e85d6f30879b0eb4
tree7bc7911032de784ab15aab21fe4f0a66b8a1c16a
parentacd87dfc05b5c4d8ebf6832fe7c0aa13b9cc0c5f
ffserver: check for codec match using AVStream.codecpar

Compare using AVCodecParameters instead of the deprecated
AVStream.codec field

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
ffserver.c