Mercurial > mplayer.hg
changeset 29435:9b2014f09534
Fix QT RLE in X-QT via rtsp://.
author | cehoyos |
---|---|
date | Wed, 05 Aug 2009 23:16:21 +0000 |
parents | 9ee424317dae |
children | 4537ed655f0b |
files | libmpdemux/demux_rtp_codec.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_rtp_codec.cpp Tue Aug 04 15:38:57 2009 +0000 +++ b/libmpdemux/demux_rtp_codec.cpp Wed Aug 05 23:16:21 2009 +0000 @@ -181,6 +181,8 @@ 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;