[FFmpeg-cvslog] movenc: Use a local variable consistently
Martin Storsjö
git at videolan.org
Thu Oct 30 02:44:06 CET 2014
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Tue Oct 21 11:36:22 2014 +0300| [1e0b81abe86dc09dd34d60d57f92de5f12d65818] | committer: Martin Storsjö
movenc: Use a local variable consistently
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1e0b81abe86dc09dd34d60d57f92de5f12d65818
---
libavformat/movenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 {
More information about the ffmpeg-cvslog
mailing list