[FFmpeg-devel] [PATCH] Fix implicit declarations of mpegts functions in libavformat/rtpdec.c

Baptiste Coudurier baptiste.coudurier
Wed Jan 20 20:49:34 CET 2010

On 01/20/2010 07:39 AM, Luca Abeni wrote:
> Alexis Ballier wrote:
>> This patch fixes those warnings:
>> libavformat/rtpdec.c: In function ?rtp_parse_open?:
>> libavformat/rtpdec.c:291: warning: implicit declaration of function
>> ?mpegts_parse_open?
>> libavformat/rtpdec.c:291: warning: assignment makes pointer from
>> integer without a cast
>> libavformat/rtpdec.c: In function ?rtp_parse_packet?:
>> libavformat/rtpdec.c:423: warning: implicit declaration of function
>> ?mpegts_parse_packet?
>> libavformat/rtpdec.c: In function ?rtp_parse_close?:
>> libavformat/rtpdec.c:559: warning: implicit declaration of function
>> ?mpegts_parse_close?
> [...]
>> This reverts parts of revs. 21205 and 21206 (and adds a comment why
>> the definitions are here).
> Looks ok, but needs the ACK of the mpegts maintainer (as it partly
> reverts a recent commit).

Please add ff_ in front of the functions.

Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org

More information about the ffmpeg-devel mailing list