summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudiodecheader.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/mpegaudiodecheader.h')
-rw-r--r--libavcodec/mpegaudiodecheader.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/mpegaudiodecheader.h b/libavcodec/mpegaudiodecheader.h
index 764e8abde4..df829c14d6 100644
--- a/libavcodec/mpegaudiodecheader.h
+++ b/libavcodec/mpegaudiodecheader.h
@@ -54,7 +54,12 @@ int avpriv_mpegaudio_decode_header(MPADecodeHeader *s, uint32_t header);
/* useful helper to get mpeg audio stream infos. Return -1 if error in
header, otherwise the coded frame size in bytes */
+int ff_mpa_decode_header(AVCodecContext *avctx, uint32_t head, int *sample_rate,
+ int *channels, int *frame_size, int *bitrate);
+
+#if LIBAVCODEC_VERSION_MAJOR < 57
int avpriv_mpa_decode_header(AVCodecContext *avctx, uint32_t head, int *sample_rate, int *channels, int *frame_size, int *bitrate);
+#endif
/* fast header check for resync */
static inline int ff_mpa_check_header(uint32_t header){