diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-12-13 23:51:02 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-12-13 23:51:53 +0100 |
commit | e5a0013c4a6248fe7e2a651db1fda6b9bb2cd743 (patch) | |
tree | 99e99b3af532a645d058c78722d283a0c22e8640 /libavformat | |
parent | 8c9fff618382bd19388f24558ff5c2fd10d85768 (diff) | |
download | ffmpeg-streaming-e5a0013c4a6248fe7e2a651db1fda6b9bb2cd743.zip ffmpeg-streaming-e5a0013c4a6248fe7e2a651db1fda6b9bb2cd743.tar.gz |
avformat/mxfdec: fix error check in macro
Fixes #6750.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mxfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 887645d..f5e3a73 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -2590,7 +2590,7 @@ static int64_t mxf_timestamp_to_int64(uint64_t timestamp) #define SET_TS_METADATA(pb, name, var, str) do { \ var = avio_rb64(pb); \ - if ((ret = avpriv_dict_set_timestamp(&s->metadata, name, mxf_timestamp_to_int64(var)) < 0)) \ + if ((ret = avpriv_dict_set_timestamp(&s->metadata, name, mxf_timestamp_to_int64(var))) < 0) \ return ret; \ } while (0) |