diff mbox series

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

Message ID 20201230233157.1055287-13-andreas.rheinhardt@gmail.com
State Accepted
Commit 3567fab6e2a5d8a61aa4eff19431582ce48f3c44
Headers show
Series [FFmpeg-devel,01/30] avcodec/opustab: Make array static | expand

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt Dec. 30, 2020, 11:31 p.m. UTC
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@gmail.com>
---
 libavformat/rtpdec.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Andreas Rheinhardt Jan. 12, 2021, 2:36 a.m. UTC | #1
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@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
diff mbox series

Patch

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 {