[Ffmpeg-devel] [PATCH] trivial pre-C99 fix for rtp.c

Wolfram Gloger wmglo
Mon May 30 08:48:13 CEST 2005


Hi,

Subject says all..

Regards,
Wolfram.

diff -ur ffmpeg/libavformat/rtp.c ffmpeg-wg/libavformat/rtp.c
--- ffmpeg/libavformat/rtp.c	2005-05-26 19:16:04.000000000 +0200
+++ ffmpeg-wg/libavformat/rtp.c	2005-05-29 12:23:37.000000000 +0200
@@ -482,6 +482,7 @@
         case CODEC_ID_MPEG4AAC:
             if (rtp_parse_mp4_au(s, buf))
               return -1;
+            {
             rtp_payload_data_t *infos = s->rtp_payload_data;
             if (infos == NULL)
                 return -1;
@@ -494,6 +495,7 @@
             memcpy(pkt->data, buf, infos->au_headers[0].size);
             buf += infos->au_headers[0].size;
             len -= infos->au_headers[0].size;
+            }
             s->read_buf_size = len;
             s->buf_ptr = (char *)buf;
             pkt->stream_index = s->st->index;





More information about the ffmpeg-devel mailing list