summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_mov.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libmpdemux/demux_mov.c b/libmpdemux/demux_mov.c
index eaffa1f963..5465d19d94 100644
--- a/libmpdemux/demux_mov.c
+++ b/libmpdemux/demux_mov.c
@@ -745,7 +745,11 @@ static void lschunks(demuxer_t* demuxer,int level,off_t endpos,mov_track_t* trak
mp_msg(MSGT_DEMUX, MSGL_V, "MOV: Found little endian PCM data, reversed fourcc:%04x\n", sh->format);
}
break;
- default: break;
+ default:
+ if (len > 8 && len + 44 <= trak->stdata_len) {
+ sh->codecdata_len = len-8;
+ sh->codecdata = trak->stdata+44+8;
+ }
}
} else {
if (len > 8 && len + 44 <= trak->stdata_len) {