1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 00:42:57 +00:00

demux_lavf: rename to handle_new_stream to clarify intent

This commit is contained in:
Aman Gupta 2015-12-21 17:14:48 -08:00 committed by wm4
parent 5afa68835a
commit d5274d9298

View File

@ -531,7 +531,7 @@ static int dict_get_decimal(AVDictionary *dict, const char *entry, int def)
return def;
}
static void handle_stream(demuxer_t *demuxer, int i)
static void handle_new_stream(demuxer_t *demuxer, int i)
{
lavf_priv_t *priv = demuxer->priv;
AVFormatContext *avfc = priv->avfc;
@ -691,7 +691,7 @@ static void add_new_streams(demuxer_t *demuxer)
{
lavf_priv_t *priv = demuxer->priv;
while (priv->num_streams < priv->avfc->nb_streams)
handle_stream(demuxer, priv->num_streams);
handle_new_stream(demuxer, priv->num_streams);
}
static void update_metadata(demuxer_t *demuxer, AVPacket *pkt)