#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):

 For IRC people...

 This typos patch 41ed7ab45fc693f7d7fc35664c0233f4c32d69bb changed the
 documentation of AVSEEK_SIZE  and AVSEEK_FORCE, it looks incorrect, other
 place documents that "optional AVSEEK_FORCE bit" is a thing, so I think
 "Oring this flag into "whence"" is more correct. It also says that **Valid
 values are SEEK_SET, SEEK_CUR, SEEK_END (as in C library), AVSEEK_SIZE**
 so those are just passed as is, it is only AVSEEK_FORCE that is just a bit
 and not an actual value.

 James? Anyone?
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/8385#comment:3>
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