You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
movenc: Use a local variable consistently
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -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");
|
av_log(s, AV_LOG_INFO, "Starting second pass: moving the moov atom to the beginning of the file\n");
|
||||||
res = shift_data(s);
|
res = shift_data(s);
|
||||||
if (res == 0) {
|
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);
|
mov_write_moov_tag(pb, mov, s);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user