Refactor FFmpeg decoder for improved readability and efficiency

Simplify the frame reading process and metadata extraction in `ffmpegdecoder.cpp` by reducing redundant code and improving variable initialization. Add a helper function in `ffmpegdecoder.h` to map FFmpeg field orders to Olive interlacing types, enhancing code clarity. Adjust the condition for interleaved write in `ffmpegencoder.cpp` for better handling.
This commit is contained in:
2025-11-10 21:06:35 +08:00
parent c1b8618391
commit 2ea53667c0
4 changed files with 82 additions and 101 deletions