1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

avformat/mov: allowing custom udta atoms to pass through their values correctly when export_all option specified.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Ken McGaugh
2025-06-29 09:37:20 +12:00
committed by Michael Niedermayer
parent 3b6ec5abb5
commit 30043cc167

View File

@@ -484,7 +484,7 @@ retry:
return ret; return ret;
} }
} else return 0; } else return 0;
} else if (atom.size > 4 && key && !c->itunes_metadata && !raw) { } else if (atom.size > 4 && (key || c->export_all) && !c->itunes_metadata && !raw) {
str_size = avio_rb16(pb); // string length str_size = avio_rb16(pb); // string length
if (str_size > atom.size) { if (str_size > atom.size) {
raw = 1; raw = 1;