lavc: move av_get_audio_frame_duration2() from avcodec.h to codec_par.h

This commit is contained in:
Anton Khirnov
2021-05-21 18:58:23 +02:00
parent 881db34f6a
commit bb3648e676
3 changed files with 8 additions and 6 deletions

View File

@@ -3121,12 +3121,6 @@ void avcodec_flush_buffers(AVCodecContext *avctx);
*/
int av_get_audio_frame_duration(AVCodecContext *avctx, int frame_bytes);
/**
* This function is the same as av_get_audio_frame_duration(), except it works
* with AVCodecParameters instead of an AVCodecContext.
*/
int av_get_audio_frame_duration2(AVCodecParameters *par, int frame_bytes);
/* memory */
/**