mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
rename ff_audio_interleave to ff_audio_rechunk_interleave
Originally committed as revision 17103 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
945f7c6e92
commit
16e3b0b3e6
@ -93,7 +93,7 @@ static int ff_interleave_new_audio_packet(AVFormatContext *s, AVPacket *pkt,
|
|||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
int ff_audio_interleave(AVFormatContext *s, AVPacket *out, AVPacket *pkt, int flush,
|
int ff_audio_rechunk_interleave(AVFormatContext *s, AVPacket *out, AVPacket *pkt, int flush,
|
||||||
int (*get_packet)(AVFormatContext *, AVPacket *, AVPacket *, int),
|
int (*get_packet)(AVFormatContext *, AVPacket *, AVPacket *, int),
|
||||||
int (*compare_ts)(AVFormatContext *, AVPacket *, AVPacket *))
|
int (*compare_ts)(AVFormatContext *, AVPacket *, AVPacket *))
|
||||||
{
|
{
|
||||||
|
@ -49,7 +49,7 @@ int ff_interleave_compare_dts(AVFormatContext *s, AVPacket *next, AVPacket *pkt)
|
|||||||
* @param get_packet function will output a packet when streams are correctly interleaved.
|
* @param get_packet function will output a packet when streams are correctly interleaved.
|
||||||
* @param compare_ts function will compare AVPackets and decide interleaving order.
|
* @param compare_ts function will compare AVPackets and decide interleaving order.
|
||||||
*/
|
*/
|
||||||
int ff_audio_interleave(AVFormatContext *s, AVPacket *out, AVPacket *pkt, int flush,
|
int ff_audio_rechunk_interleave(AVFormatContext *s, AVPacket *out, AVPacket *pkt, int flush,
|
||||||
int (*get_packet)(AVFormatContext *, AVPacket *, AVPacket *, int),
|
int (*get_packet)(AVFormatContext *, AVPacket *, AVPacket *, int),
|
||||||
int (*compare_ts)(AVFormatContext *, AVPacket *, AVPacket *));
|
int (*compare_ts)(AVFormatContext *, AVPacket *, AVPacket *));
|
||||||
|
|
||||||
|
@ -789,7 +789,7 @@ static int gxf_write_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
|
|
||||||
static int gxf_interleave_packet(AVFormatContext *s, AVPacket *out, AVPacket *pkt, int flush)
|
static int gxf_interleave_packet(AVFormatContext *s, AVPacket *out, AVPacket *pkt, int flush)
|
||||||
{
|
{
|
||||||
return ff_audio_interleave(s, out, pkt, flush,
|
return ff_audio_rechunk_interleave(s, out, pkt, flush,
|
||||||
av_interleave_packet_per_dts, ff_interleave_compare_dts);
|
av_interleave_packet_per_dts, ff_interleave_compare_dts);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1442,7 +1442,7 @@ static int mxf_compare_timestamps(AVFormatContext *s, AVPacket *next, AVPacket *
|
|||||||
|
|
||||||
static int mxf_interleave(AVFormatContext *s, AVPacket *out, AVPacket *pkt, int flush)
|
static int mxf_interleave(AVFormatContext *s, AVPacket *out, AVPacket *pkt, int flush)
|
||||||
{
|
{
|
||||||
return ff_audio_interleave(s, out, pkt, flush,
|
return ff_audio_rechunk_interleave(s, out, pkt, flush,
|
||||||
mxf_interleave_get_packet, mxf_compare_timestamps);
|
mxf_interleave_get_packet, mxf_compare_timestamps);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user