[FFmpeg-cvslog] r22277 - trunk/libavformat/rtmppkt.c

Måns Rullgård mans
Sun Mar 7 16:35:51 CET 2010


kostya <subversion at mplayerhq.hu> writes:

> Author: kostya
> Date: Sun Mar  7 09:52:53 2010
> New Revision: 22277
>
> Log:
> 1l trocadero: forgot reference operator on bytestream_get_be32() argument
>
> Modified:
>    trunk/libavformat/rtmppkt.c
>
> Modified: trunk/libavformat/rtmppkt.c
> ==============================================================================
> --- trunk/libavformat/rtmppkt.c	Sun Mar  7 07:53:12 2010	(r22276)
> +++ trunk/libavformat/rtmppkt.c	Sun Mar  7 09:52:53 2010	(r22277)
> @@ -376,7 +376,7 @@ static void ff_amf_tag_contents(void *ct
>          if (data[-1] == AMF_DATA_TYPE_STRING) {
>              size = bytestream_get_be16(&data);
>          } else {
> -            size = bytestream_get_be32(data);
> +            size = bytestream_get_be32(&data);

The name of that operator is address-of, reference being probably most
brain-damaged C++ misfeature of them all.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-cvslog mailing list