[FFmpeg-cvslog] avformat/avio: Fix "warning: struct AVBPrint declared inside parameter list"

Nicolas George george at nsup.org
Sat Aug 9 15:54:34 CEST 2014


Le duodi 22 thermidor, an CCXXII, Michael Niedermayer a écrit :
> ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Aug  9 15:30:03 2014 +0200| [f75786f3bc8819545aa070f62d2ab3b579a8c781] | committer: Michael Niedermayer
> 
> avformat/avio: Fix "warning: struct AVBPrint declared inside parameter list"
> 
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> 
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f75786f3bc8819545aa070f62d2ab3b579a8c781
> ---
> 
>  libavformat/avio.h |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavformat/avio.h b/libavformat/avio.h
> index 1aa3602..89e0804 100644
> --- a/libavformat/avio.h
> +++ b/libavformat/avio.h
> @@ -28,6 +28,7 @@
>  
>  #include <stdint.h>
>  
> +#include "libavutil/bprint.h"
>  #include "libavutil/common.h"
>  #include "libavutil/dict.h"
>  #include "libavutil/log.h"

It was removed on purpose:

http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=04bc37007224cfab68bc557507c449fb661218e5

I had not noticed the warning before submitting the fix. Here is an updated
version. I have pushed it to my tree too, feel free to merge it if it is
satisfactory.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavf-avio-do-not-include-bprint.h.patch
Type: text/x-diff
Size: 1030 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20140809/2f6288e4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20140809/2f6288e4/attachment.asc>


More information about the ffmpeg-cvslog mailing list