Commit 7fe3207e authored by Alex Converse's avatar Alex Converse Committed by Anton Khirnov
Browse files

movenc: fix adpcm mono muxing.

Signed-off-by: default avatarAnton Khirnov <>
parent 6ae38aa3
......@@ -91,6 +91,7 @@ static int mov_write_stsz_tag(AVIOContext *pb, MOVTrack *track)
if (equalChunks) {
int sSize = track->cluster[0].size/track->cluster[0].entries;
sSize = FFMAX(1, sSize); // adpcm mono case could make sSize == 0
avio_wb32(pb, sSize); // sample size
avio_wb32(pb, entries); // sample count
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment