avformat/flvenc: do not attempt to write duration and filesize when not seekable
authorSteven Liu <lq@chinaffmpeg.org>
Wed, 12 Oct 2016 10:11:41 +0000 (18:11 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 20 Oct 2016 16:07:24 +0000 (18:07 +0200)
commit5702416c57afb2bb062eb69d60fc42c31c91b674
treeff45a82e05c2e0ad7f793d24a77d00237afb253c
parentc0e2846dcdc1a29de1c78886f5b7a05a252779e4
avformat/flvenc: do not attempt to write duration and filesize when not seekable

Its impossible to update the filesize & duration values if seekback is not
possible as with live streams

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/flvenc.c