]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mxfdec.c
Merge commit 'd1b3fabe6945e511bb20fc9ca52b47eb952526ee'
[ffmpeg] / libavformat / mxfdec.c
index 181bc0a412e1ea8e1755997994ea3ddbe604391d..9e2687fe6d7d6bcc40a09869702b6913ad2bba00 100644 (file)
@@ -2540,7 +2540,7 @@ static int mxf_read_seek(AVFormatContext *s, int stream_index, int64_t sample_ti
             sample_time = FFMIN(sample_time, source_track->original_duration - 1);
         }
 
-        if ((ret = mxf_edit_unit_absolute_offset(mxf, t, sample_time, &sample_time, &seekpos, 1)) << 0)
+        if ((ret = mxf_edit_unit_absolute_offset(mxf, t, sample_time, &sample_time, &seekpos, 1)) < 0)
             return ret;
 
         ff_update_cur_dts(s, st, sample_time);