- AVCodec *codec = avcodec_find_decoder(codec_id);
- av_log(ctx, AV_LOG_INFO, "Compressed: %9s : %20s :",
- codec ? codec->name : "Unsupported",
+ const AVCodecDescriptor *desc = avcodec_descriptor_get(codec_id);
+ av_log(ctx, AV_LOG_INFO, "Compressedll : %9s : %20s :",
+ desc ? desc->name : "Unsupported",