diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2018-11-16 22:03:37 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-01-07 10:53:38 +0100 |
commit | 4521700f295f35da4768f88b570e0836a858ce7b (patch) | |
tree | 53e22f7d49cc946c635373d32abfa556961067ed /doc/demuxers.texi | |
parent | 2f54cd9548e2a8fe0ecba9a345b66f0798dd243e (diff) | |
download | ffmpeg-4521700f295f35da4768f88b570e0836a858ce7b.tar.gz |
lavf/hlsenc: Do not mix declarations and code.n4.1.5
Fixes the following warnings:
libavformat/hlsenc.c: In function 'hls_write_trailer':
libavformat/hlsenc.c:2364:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
uint8_t *buffer = NULL;
^~~~~~~
libavformat/hlsenc.c:2372:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
int byterange_mode = (hls->flags & HLS_SINGLE_FILE) || (hls->max_seg_size > 0);
^~~
libavformat/hlsenc.c:2379:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
int range_length = 0;
^~~
(cherry picked from commit fc94e9704e056a2dc85745ffec685ffb6fcd142e)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc/demuxers.texi')
0 files changed, 0 insertions, 0 deletions