OSDN Git Service

avformat/ffmdec: replace most codec uses by codecpar
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 2 Dec 2016 23:52:55 +0000 (00:52 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 3 Dec 2016 13:05:15 +0000 (14:05 +0100)
commit591c03242164fc5a9fe77fab47b5a68f4de1a135
tree7089b68af2d8d84da638cc2f7742b4f6620bb5b3
parent5cd3ea1cc0802324a06815e056ed5294719ed3cc
avformat/ffmdec: replace most codec uses by codecpar

This is a bit messy as codecar does not support AVOptions so we need
to use AVCodecContext where AVOptions are required and copy back and forth.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/ffmdec.c