[MPlayer-cvslog] r29477 - trunk/libmpdemux/demux_rtp_codec.cpp
cehoyos
subversion at mplayerhq.hu
Thu Aug 6 01:16:22 CEST 2009
Author: cehoyos
Date: Thu Aug 6 01:16:21 2009
New Revision: 29477
Log:
Fix QT RLE in X-QT via rtsp://.
Modified:
trunk/libmpdemux/demux_rtp_codec.cpp
Modified: trunk/libmpdemux/demux_rtp_codec.cpp
==============================================================================
--- trunk/libmpdemux/demux_rtp_codec.cpp Tue Aug 4 17:38:57 2009 (r29476)
+++ trunk/libmpdemux/demux_rtp_codec.cpp Thu Aug 6 01:16:21 2009 (r29477)
@@ -181,6 +181,8 @@ void rtpCodecInitialize_video(demuxer_t*
bih->biCompression = sh_video->format = fourcc;
bih->biWidth = qtRTPSource->qtState.width;
bih->biHeight = qtRTPSource->qtState.height;
+ if (qtRTPSource->qtState.sdAtomSize > 83)
+ bih->biBitCount = qtRTPSource->qtState.sdAtom[83];
uint8_t *pos = (uint8_t*)qtRTPSource->qtState.sdAtom + 86;
uint8_t *endpos = (uint8_t*)qtRTPSource->qtState.sdAtom
+ qtRTPSource->qtState.sdAtomSize;
More information about the MPlayer-cvslog
mailing list