[FFmpeg-devel] [PATCH v1] avformat/rtpdec.h remove unused variable

Michael Niedermayer michael at niedermayer.cc
Wed Mar 13 22:33:12 EET 2019


On Wed, Mar 13, 2019 at 07:22:41AM +0800, Steven Liu wrote:
> 
> 
> > 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

will apply

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190313/54fd1141/attachment.sig>


More information about the ffmpeg-devel mailing list