[FFmpeg-devel] [PATCH]Remove some long long occurences in the libraries

Michael Niedermayer michaelni at gmx.at
Fri Jun 5 01:36:13 CEST 2015


On Thu, Jun 04, 2015 at 06:40:25PM +0200, Carl Eugen Hoyos wrote:
> On Thursday 04 June 2015 06:34:17 pm James Almer wrote:
> > On 04/06/15 9:58 AM, Carl Eugen Hoyos wrote:
> > > diff --git a/libavdevice/iec61883.c b/libavdevice/iec61883.c
> > > index b29aad1..152a9f7 100644
> > > --- a/libavdevice/iec61883.c
> > > +++ b/libavdevice/iec61883.c
> > > @@ -271,7 +271,7 @@ static int iec61883_read_header(AVFormatContext
> > > *context) }
> > >
> > >      if (dv->device_guid) {
> > > -        if (sscanf(dv->device_guid, "%llx", (long long unsigned int
> > > *)&guid) != 1) { +        if (sscanf(dv->device_guid, "%"PRIu64, &guid)
> > > != 1) {
> >
> > SCNu64
> 
> New patch attached.
> 
> Thank you, Carl Eugen

>  libavcodec/cinepakenc.c            |   14 +++++++-------
>  libavdevice/iec61883.c             |    2 +-
>  libavformat/libnut.c               |    2 +-
>  libavformat/mp3dec.c               |    2 +-
>  libpostproc/postprocess_template.c |    2 +-
>  5 files changed, 11 insertions(+), 11 deletions(-)
> 79fb713ba31c468fbea807e648e0aa0a20a44586  patchll.diff

no objection from me if noone else is against

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150605/ad5dbd99/attachment.asc>


More information about the ffmpeg-devel mailing list