[FFmpeg-cvslog] r16011 - trunk/libavcodec/aasc.c
Michael Niedermayer
michaelni
Sat Dec 6 11:59:19 CET 2008
On Sat, Dec 06, 2008 at 09:57:31AM +0100, kostya wrote:
> Author: kostya
> Date: Sat Dec 6 09:57:31 2008
> New Revision: 16011
>
> Log:
> AASC can contain raw data in addition to MS-RLE
>
> Modified:
> trunk/libavcodec/aasc.c
>
> Modified: trunk/libavcodec/aasc.c
> ==============================================================================
> --- trunk/libavcodec/aasc.c (original)
> +++ trunk/libavcodec/aasc.c Sat Dec 6 09:57:31 2008
> @@ -62,6 +62,7 @@ static int aasc_decode_frame(AVCodecCont
> const uint8_t *buf, int buf_size)
> {
> AascContext *s = avctx->priv_data;
> + int compr, i, stride;
>
> s->frame.reference = 1;
> s->frame.buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_PRESERVE | FF_BUFFER_HINTS_REUSABLE;
> @@ -70,7 +71,24 @@ static int aasc_decode_frame(AVCodecCont
> return -1;
> }
>
> - ff_msrle_decode(avctx, &s->frame, 8, buf, buf_size);
> + compr = AV_RL32(buf);
> + buf += 4;
bytestream_get_
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20081206/a20b7fb9/attachment.pgp>
More information about the ffmpeg-cvslog
mailing list