[FFmpeg-cvslog] r9623 - trunk/libavformat/rtp_h264.c

Aurelien Jacobs aurel
Fri Jul 13 14:46:27 CEST 2007


On Fri, 13 Jul 2007 14:12:38 +0200 (CEST)
alex <subversion at mplayerhq.hu> wrote:

> Author: alex
> Date: Fri Jul 13 14:12:38 2007
> New Revision: 9623
> 
> Log:
> h264_rtp_extra_data is not only used for debug purposes, asserts are using it also
> 
> Modified:
>    trunk/libavformat/rtp_h264.c
> 
> Modified: trunk/libavformat/rtp_h264.c
> ==============================================================================
> --- trunk/libavformat/rtp_h264.c	(original)
> +++ trunk/libavformat/rtp_h264.c	Fri Jul 13 14:12:38 2007
> @@ -165,9 +165,7 @@ static int h264_handle_packet(RTPDemuxCo
>                                const uint8_t * buf,
>                                int len)
>  {
> -#ifdef DEBUG
>      h264_rtp_extra_data *data = s->dynamic_protocol_context;
> -#endif

Maybe adding a av_unused would be better ? (I didn't checked if
it generate a warning)

Aurel




More information about the ffmpeg-cvslog mailing list