[FFmpeg-devel] [PATCH 13/30] avformat/rtpdec: Remove next pointer from Protocol Handlers

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Tue Jan 12 04:36:54 EET 2021


Andreas Rheinhardt:
> Forgotten in 61974537610d82bd35b6e3ac91ccd270c6bdc711 (notice that
> RTPDynamicProtocolHandler is not a public struct, so one can remove
> the linked-list pointer immediately (unlike in most other patches of
> this kind)).
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavformat/rtpdec.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
> index 9144edbe8b..701ce072b6 100644
> --- a/libavformat/rtpdec.h
> +++ b/libavformat/rtpdec.h
> @@ -134,8 +134,6 @@ struct RTPDynamicProtocolHandler {
>      /** Parse handler for this dynamic packet */
>      DynamicPayloadPacketHandlerProc parse_packet;
>      int (*need_keyframe)(PayloadContext *context);
> -
> -    struct RTPDynamicProtocolHandler *next;
>  };
>  
>  typedef struct RTPPacket {
> 
Will apply this and the next patch tomorrow unless there are objections.

- Andreas


More information about the ffmpeg-devel mailing list