X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fdv_profile.c;h=79212b9765f4a00f3fc2fbe3e68b218477128a49;hb=638eec2ac34b7f65a8e84203ea4292440bc8fe50;hp=58ce79f269f11c9d42b3026c2aab3b2807f05233;hpb=5836fe20c686fa9fe6a85afe306485b312ad1698;p=ffmpeg diff --git a/libavcodec/dv_profile.c b/libavcodec/dv_profile.c index 58ce79f269f..79212b9765f 100644 --- a/libavcodec/dv_profile.c +++ b/libavcodec/dv_profile.c @@ -328,18 +328,3 @@ const AVDVProfile *av_dv_codec_profile(int width, int height, return NULL; } -#if LIBAVCODEC_VERSION_MAJOR < 56 -const AVDVProfile *avpriv_dv_frame_profile(const AVDVProfile *sys, - const uint8_t* frame, unsigned buf_size) -{ - return av_dv_frame_profile(sys, frame, buf_size); -} - -const AVDVProfile *avpriv_dv_codec_profile(AVCodecContext *codec) -{ - if (codec->coded_width || codec->coded_height) { - return av_dv_codec_profile(codec->coded_width, codec->coded_height, codec->pix_fmt); - } else - return av_dv_codec_profile(codec->width, codec->height, codec->pix_fmt); -} -#endif