Files
ffmpeg-rockchip/libavcodec
Dmitry Rogozhkin e9c93009fc avcodec/decode: validate hw_frames_ctx when AVHWAccel.free_frame_priv is used
Validate that a hw_frames_ctx is available before using it for
the AVHWAccel.free_frame_priv callback, and don't require it to
be present when the callback is not in use by the HWAccel.

v2: check for free_frame_priv (Hendrik)
v3: return EINVAL (Christoph Reiter)
v4: better commit message (Hendrik)
v5: fix typo with missed frames_ctx (Lynne)

See[1]: https://github.com/msys2/MINGW-packages/pull/19050
Fixes: be07145109 ("avcodec: add AVHWAccel.free_frame_priv callback")
CC: Lynne <dev@lynne.ee>
CC: Christoph Reiter <reiter.christoph@gmail.com>
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
2023-11-22 05:01:16 +01:00
..
2023-11-18 22:07:14 +02:00
2023-11-10 00:14:02 +01:00
2023-09-11 00:27:45 +02:00
2023-08-15 19:09:23 +02:00
2023-05-15 10:24:54 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-22 13:15:00 +08:00
2023-09-01 23:59:14 +02:00
2023-09-11 00:27:45 +02:00
2023-09-07 00:23:30 +02:00
2023-09-22 13:15:00 +08:00
2023-11-18 19:55:42 +01:00
2023-09-22 13:15:00 +08:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-11-08 17:37:58 +11:00
2023-11-08 17:37:58 +11:00
2023-09-11 00:27:45 +02:00
2023-09-19 21:28:40 +02:00
2023-09-11 00:27:45 +02:00
2023-10-01 02:25:09 +02:00
2023-09-07 00:42:10 +02:00
2023-09-11 00:27:45 +02:00
2023-05-21 10:50:59 +02:00
2023-09-11 00:27:45 +02:00
2023-11-14 19:15:51 +02:00
2023-10-09 19:52:51 +03:00
2023-09-07 00:42:10 +02:00
2023-05-15 10:24:54 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-10-03 00:27:14 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-10-31 21:33:25 +02:00
2023-10-31 21:33:25 +02:00
2023-09-07 00:42:10 +02:00
2023-09-11 00:27:45 +02:00
2023-09-07 00:42:10 +02:00
2023-09-07 00:42:10 +02:00
2023-11-08 17:37:58 +11:00
2023-11-08 17:37:58 +11:00
2023-05-15 10:24:54 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-07 00:42:10 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-04 11:04:45 +02:00
2023-09-11 00:27:45 +02:00
2023-11-09 12:53:35 +01:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-28 19:37:58 +02:00
2023-09-30 15:35:04 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-10-05 22:05:21 +02:00
2023-11-01 22:53:26 +02:00
2023-11-01 22:53:26 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-06-18 14:29:12 +02:00
2023-09-07 20:58:00 +02:00
2023-09-11 00:27:45 +02:00
2023-10-10 00:22:55 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-11-01 20:16:02 +01:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00