#8385: libavformat/aviobuf: A part of conditional expression is always true:
whence != 2
------------------------------------+------------------------------------
             Reporter:  Balling     |                    Owner:  (none)
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Comment (by Balling):

 Maybe the actual patch is that this line
 
https://github.com/FFmpeg/FFmpeg/blob/b741a84a15aed8afa01800dbc4b8b0e344e5d2da/libavformat/aviobuf.c#L265

 should add || whence != SEEK_END

 That was laster whence can be SEEK_END and will in fact work only if
 whence contained AVSEEK_FORCE flag.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/8385#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to