asfenc: use codec descriptors instead of AVCodecs to write codec info
authorAnton Khirnov <anton@khirnov.net>
Tue, 29 Apr 2014 14:13:38 +0000 (16:13 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 1 May 2014 07:26:20 +0000 (09:26 +0200)
commit6072184e702b4b631ac72f1b66b75e5f21e0ce2d
tree82047e326d1c78604ddc796bd4b9429c85e21211
parent92e4b643dfdafdb6528f1baffdbea2b9a028d7c0
asfenc: use codec descriptors instead of AVCodecs to write codec info

Also, stop using AVCodecContext.codec_name as fallback, since it will be
deprecated.

Changes the result of the lavf-asf test (and its associated seektest),
since 'msmpeg4v3' gets written instead of just 'msmpeg4'.
libavformat/asfenc.c
tests/ref/lavf/asf
tests/ref/seek/lavf-asf