diff options
author | Martin Storsjö <martin@martin.st> | 2014-10-21 11:36:22 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2014-10-29 23:03:45 +0200 |
commit | 1e0b81abe86dc09dd34d60d57f92de5f12d65818 (patch) | |
tree | e00ce2d9ecac5f6d2923f556c88938a205d093df | |
parent | b2b79eca6fae2466a53c5daa163a37e2474364fc (diff) | |
download | ffmpeg-streaming-1e0b81abe86dc09dd34d60d57f92de5f12d65818.zip ffmpeg-streaming-1e0b81abe86dc09dd34d60d57f92de5f12d65818.tar.gz |
movenc: Use a local variable consistently
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavformat/movenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index ccd310c..c50adb6 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -3766,7 +3766,7 @@ static int mov_write_trailer(AVFormatContext *s) av_log(s, AV_LOG_INFO, "Starting second pass: moving the moov atom to the beginning of the file\n"); res = shift_data(s); if (res == 0) { - avio_seek(s->pb, mov->reserved_moov_pos, SEEK_SET); + avio_seek(pb, mov->reserved_moov_pos, SEEK_SET); mov_write_moov_tag(pb, mov, s); } } else { |