[FFmpeg-devel] [PATCH v1] avformat/rtpdec.h remove unused variable
Steven Liu
lq at chinaffmpeg.org
Wed Mar 13 01:22:41 EET 2019
> On Mar 13, 2019, at 05:26, Jun Li <junli1026 at gmail.com> wrote:
>
> Looks like the variable 'cur_timestamp' is not used anywhere.
> So remove this variable.
>
> Signed-off-by: Jun Li <junli1026 at gmail.com>
> ---
> 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;
> --
> 2.17.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
LGTM
Thanks
Steven
More information about the ffmpeg-devel
mailing list