Change #256709
| Category | ffmpeg |
| Changed by | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> |
| Changed at | Fri 30 Jan 2026 11:30:30 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | 4367c055b6b253e97be603b0d1e58ce841abd1b8 |
Comments
avformat/cafenc: Fix segfault upon error, avoid indirection caf_write_deinit() would segfault if the CAFStreamContext couldn't be allocated. Fix this by moving everything from CAFStreamContext to the ordinary CAFContext; the separation doesn't make sense for a format with only one stream anyway and removing it also avoids an indirection. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Changed files
- libavformat/cafenc.c