diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-10-17 00:23:32 +0200 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-10-22 00:34:54 +0200 |
commit | 957f92729a3ea24c6f565ca33573ff12189e9a4e (patch) | |
tree | f01da022f0be23e939233b266ccd94445b9881b9 /libavformat/movenc.c | |
parent | 18e8fac531cb4b7db3d6d36b222c99e3e8968cfe (diff) | |
download | ffmpeg-957f92729a3ea24c6f565ca33573ff12189e9a4e.tar.gz |
avcodec: drop 2 suffix from avpriv_ac3_parse_header2
avpriv_ac3_parse_header was removed in commit 3dfb643.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r-- | libavformat/movenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 5115585019..05198b4f90 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -341,7 +341,7 @@ static int handle_eac3(MOVMuxContext *mov, AVPacket *pkt, MOVTrack *track) info = track->eac3_priv; init_get_bits(&gbc, pkt->data, pkt->size * 8); - if (avpriv_ac3_parse_header2(&gbc, &hdr) < 0) { + if (avpriv_ac3_parse_header(&gbc, &hdr) < 0) { /* drop the packets until we see a good one */ if (!track->entry) { av_log(mov, AV_LOG_WARNING, "Dropping invalid packet from start of the stream\n"); @@ -391,7 +391,7 @@ static int handle_eac3(MOVMuxContext *mov, AVPacket *pkt, MOVTrack *track) while (cumul_size != pkt->size) { int i; init_get_bits(&gbc, pkt->data + cumul_size, (pkt->size - cumul_size) * 8); - if (avpriv_ac3_parse_header2(&gbc, &hdr) < 0) + if (avpriv_ac3_parse_header(&gbc, &hdr) < 0) return AVERROR_INVALIDDATA; if (hdr->frame_type != EAC3_FRAME_TYPE_DEPENDENT) return AVERROR(EINVAL); |