Change #265035
| Category | ffmpeg |
| Changed by | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> |
| Changed at | Mon 20 Apr 2026 12:54:31 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | 5e69e6d49c95ebe8e31849b28cea16894fd23e2e |
Comments
avformat/pdvenc: Don't silently truncate value This muxer seems to intend to support output that does not begin at zero (instead of e.g. just hardcoding nb_frames_pos to 16). But then it is possible that avio_seek() returns values > INT_MAX even though the part of the file written by us can not exceed this value. So the return value of avio_seek() needs to be checked as 64bit integer and not silently truncated to int. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Changed files
- libavformat/pdvenc.c