| 75 | |
| 76 | #ifndef FFMPEG_DECODER |
| 77 | static const FFCodec *AVCodecInitialize(enum AVCodecID codec_id) |
| 78 | { |
| 79 | const AVCodec *res; |
| 80 | |
| 81 | res = avcodec_find_decoder(codec_id); |
| 82 | if (!res) |
| 83 | error("Failed to find decoder"); |
| 84 | return ffcodec(res); |
| 85 | } |
| 86 | #endif |
| 87 | |
| 88 | static int subtitle_handler(AVCodecContext *avctx, AVFrame *unused, |
no test coverage detected