diff options
author | Chih-Wei Huang <cwhuang@linux.org.tw> | 2013-09-17 23:36:48 +0800 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-17 19:34:53 +0200 |
commit | 985920433cdb7795ca3966329c76c7a670385132 (patch) | |
tree | 85d4fad34623d0b0a8da204b344be9430a399f9b /libavformat/asfenc.c | |
parent | 112017e9908b7c9e01c1eaf0e0bb54346223edcf (diff) | |
download | ffmpeg-985920433cdb7795ca3966329c76c7a670385132.tar.gz |
avformat/asfenc: fix a build error
It's introduced by the erroneous merging commit cbe47b1e.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/asfenc.c')
-rw-r--r-- | libavformat/asfenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c index 85748c76b7..516e0d0e47 100644 --- a/libavformat/asfenc.c +++ b/libavformat/asfenc.c @@ -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); } |