[FFmpeg-devel] [PATCH] avformat/hlsenc: refine the hlsenc code
Steven Liu
lingjiujianke at gmail.com
Fri Jan 13 02:00:14 EET 2017
2017-01-12 13:07 GMT+08:00 Steven Liu <lq at chinaffmpeg.org>:
> because the oc have been potint to hls->avf or hls->vtt_avf
> here is not needed point once again
>
> Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
> ---
> libavformat/hlsenc.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
> index 772232b..fb98b01 100644
> --- a/libavformat/hlsenc.c
> +++ b/libavformat/hlsenc.c
> @@ -1298,11 +1298,6 @@ static int hls_write_packet(AVFormatContext *s,
> AVPacket *pkt)
> return ret;
> }
>
> - if( st->codecpar->codec_type == AVMEDIA_TYPE_SUBTITLE )
> - oc = hls->vtt_avf;
> - else
> - oc = hls->avf;
> -
> if ((ret = hls_window(s, 0)) < 0) {
> av_free(old_filename);
> return ret;
> --
> 2.10.1.382.ga23ca1b.dirty
>
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
applied
Thanks
More information about the ffmpeg-devel
mailing list