[MPlayer-cvslog] CVS: main/libmpdemux demux_mov.c,1.144,1.145
Roberto Togni CVS
syncmail at mplayerhq.hu
Mon Mar 27 23:37:20 CEST 2006
CVS change done by Roberto Togni CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv18418
Modified Files:
demux_mov.c
Log Message:
Fix passing qdm2 extradata to lavc decoder
It was broken in rev 1.142, that code does not behave the same as the
old one in some cases
Index: demux_mov.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mov.c,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -r1.144 -r1.145
--- demux_mov.c 24 Mar 2006 08:12:02 -0000 1.144
+++ demux_mov.c 27 Mar 2006 21:37:18 -0000 1.145
@@ -745,7 +745,11 @@
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) {
More information about the MPlayer-cvslog
mailing list