OSDN Git Service

lavf: reimplement is_intra_only() by using the AVCodecContext codec descriptor
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 11 Aug 2012 14:09:44 +0000 (16:09 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 12 Aug 2012 12:51:22 +0000 (14:51 +0200)
commitd5c90ff23bdbb961f8f204a0dbaf3e45627f5f91
tree0805061bb10452484c1d3e550ee9fa3e1563df1b
parentda74e883f14469a1aad7c07c9aa7629a554bbceb
lavf: reimplement is_intra_only() by using the AVCodecContext codec descriptor

This also changes behavior as the descriptor table is more complete than
the switch/case it replaces. As well as considering all non video as
intra only

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c