mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 04:30:02 +00:00
avformat/asfenc: fix a build error
It's introduced by the erroneous merging commit cbe47b1e
.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
112017e990
commit
985920433c
@ -869,7 +869,7 @@ static int asf_write_trailer(AVFormatContext *s)
|
||||
/* write index */
|
||||
data_size = avio_tell(s->pb);
|
||||
if (!asf->is_streamed && asf->next_start_sec) {
|
||||
if ((ret = update_index(s, asf->end_sec + 1, 0, 0)) < ret)
|
||||
if ((ret = update_index(s, asf->end_sec + 1, 0, 0)) < 0)
|
||||
return ret;
|
||||
asf_write_index(s, asf->index_ptr, asf->maximum_packet, asf->next_start_sec);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user