mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/hlsenc: refine the hlsenc code
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@chinaffmpeg.org>
This commit is contained in:
parent
b97e9cba0b
commit
3222786c5a
@ -1317,11 +1317,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;
|
||||
|
Loading…
Reference in New Issue
Block a user