Files
FFmpeg/doc
Jun Zhao c51a420b59 doc/examples/hw_decode: check fopen return value for output file
The output file fopen() result is not checked. If it fails (e.g.
permission denied or invalid path), output_file is NULL and the
subsequent fwrite() call will crash.

Add a NULL check with an error message, consistent with the
existing error handling pattern in this example.

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2026-03-18 02:08:09 +00:00
..
2023-03-01 21:59:10 +01:00
2026-01-18 03:33:04 +00:00
2025-08-03 13:48:47 +02:00
2025-10-25 13:21:50 +00:00
2024-03-18 17:59:19 +01:00
2025-08-03 13:48:47 +02:00
2026-01-18 03:33:04 +00:00
2025-08-03 13:48:47 +02:00
2021-06-18 18:58:25 +02:00