mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avformat/asfenc: replace != 0 error check by <0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3d6545d51e
commit
4b45aa517c
1 changed files with 1 additions and 1 deletions
|
|
@ -485,7 +485,7 @@ static int asf_write_header1(AVFormatContext *s, int64_t file_size,
|
||||||
/* chapters using ASF markers */
|
/* chapters using ASF markers */
|
||||||
if (!asf->is_streamed && s->nb_chapters) {
|
if (!asf->is_streamed && s->nb_chapters) {
|
||||||
int ret;
|
int ret;
|
||||||
if (ret = asf_write_markers(s))
|
if ((ret = asf_write_markers(s)) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
/* stream headers */
|
/* stream headers */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue