From c2a221c5ae5017e11654b9688ac97e9f5d3570b2 Mon Sep 17 00:00:00 2001 From: Jun Li Date: Tue, 12 Mar 2019 14:26:22 -0700 Subject: [PATCH] avformat/rtpdec.h remove unused variable Looks like the variable 'cur_timestamp' is not used anywhere. So remove this variable. Signed-off-by: Jun Li Reviewed-by: Steven Liu Signed-off-by: Michael Niedermayer --- libavformat/rtpdec.h | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h index 5a47d6f79d..9144edbe8b 100644 --- a/libavformat/rtpdec.h +++ b/libavformat/rtpdec.h @@ -154,7 +154,6 @@ struct RTPDemuxContext { uint16_t seq; uint32_t timestamp; uint32_t base_timestamp; - uint32_t cur_timestamp; int64_t unwrapped_timestamp; int64_t range_start_offset; int max_payload_size;