Browse Source

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>
tags/n3.3
Steven Liu 9 years ago
parent
commit
3222786c5a
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      libavformat/hlsenc.c

+ 0
- 5
libavformat/hlsenc.c View File

@@ -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…
Cancel
Save