* Internal version of av_codec_is_decoder(). Must not be called with * a NULL AVCodec*. */
| 307 | * a NULL AVCodec*. |
| 308 | */ |
| 309 | static inline int ff_codec_is_decoder(const AVCodec *avcodec) |
| 310 | { |
| 311 | const FFCodec *const codec = ffcodec(avcodec); |
| 312 | return codec->is_decoder; |
| 313 | } |
| 314 | |
| 315 | /** |
| 316 | * Default implementation for avcodec_get_supported_config(). Will return the |
no test coverage detected