[FFmpeg-devel] [PATCH] avformat/dashenc: Removed usage of deprecated 'filename' variable
Jeyapal, Karthick
kjeyapal at akamai.com
Tue Feb 27 06:27:53 EET 2018
On 2/24/18 12:47 PM, Karthick J wrote:
> From: Karthick Jeyapal <kjeyapal at akamai.com>
>
> ---
> libavformat/dashenc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
> index d6474f3..ebff3c5 100644
> --- a/libavformat/dashenc.c
> +++ b/libavformat/dashenc.c
> @@ -1307,7 +1307,7 @@ static int dash_write_packet(AVFormatContext *s, AVPacket *pkt)
> //open the output context when the first frame of a segment is ready
> if (!c->single_file && !os->out) {
> AVDictionary *opts = NULL;
> - const char *proto = avio_find_protocol_name(s->filename);
> + const char *proto = avio_find_protocol_name(s->url);
> int use_rename = proto && !strcmp(proto, "file");
> os->filename[0] = os->full_path[0] = os->temp_path[0] = '\0';
> ff_dash_fill_tmpl_params(os->filename, sizeof(os->filename),
Pushed.
Regards,
Karthick
More information about the ffmpeg-devel
mailing list