[FFmpeg-devel] [PATCH 1/2] avformat/movenc, segafilmenc: Remove unnecessary avio_tell()

Michael Niedermayer michael at niedermayer.cc
Fri Jan 17 22:19:08 EET 2020


On Thu, Jan 16, 2020 at 05:49:14AM +0100, Andreas Rheinhardt wrote:
> When the faststart option for the mov/mp4 muxer is used, the current
> position (i.e. the size of the already written data pre-shifting) was
> evaluated twice: First in an initialization and then again later,
> overwriting the first value without having ever touched it. So remove
> the initialization.
> 
> Also, the clone of this code in the Sega FILM muxer behaves the same and
> has been treated the same.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavformat/movenc.c      | 2 +-
>  libavformat/segafilmenc.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

will apply patchset

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship: All citizens are under surveillance, all their steps and
actions recorded, for the politicians to enforce control.
Democracy: All politicians are under surveillance, all their steps and
actions recorded, for the citizens to enforce control.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200117/642ca87a/attachment.sig>


More information about the ffmpeg-devel mailing list