diff options
author | 2024-10-14 03:22:17 +1100 | |
---|---|---|
committer | 2024-10-14 03:22:17 +1100 | |
commit | ad459a9025b1fb2285041d32d7c21cb87e11a8f5 (patch) | |
tree | b53a695990409497c6b26c8478c4aad0afbe72f9 /src/tools/ldresample.cpp | |
parent | ec9aec11be23ad7eda6fc52d38fdf90ca6a484e2 (diff) |
util/chd.cpp, util/chdcodec.cpp: Added a safer way to let codecs do special stuff with hunks.
Diffstat (limited to 'src/tools/ldresample.cpp')
-rw-r--r-- | src/tools/ldresample.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/ldresample.cpp b/src/tools/ldresample.cpp index 0836fd4b7a9..4fcd19c3afc 100644 --- a/src/tools/ldresample.cpp +++ b/src/tools/ldresample.cpp @@ -249,7 +249,7 @@ static bool read_chd(chd_file &file, uint32_t field, movie_info &info, uint32_t file.codec_configure(CHD_CODEC_AVHUFF, AVHUFF_CODEC_DECOMPRESS_CONFIG, &avconfig); // read the field - std::error_condition chderr = file.read_hunk(field, nullptr); + std::error_condition chderr = file.codec_process_hunk(field); return !chderr; } |