mirror of
				https://github.com/nyanmisaka/ffmpeg-rockchip.git
				synced 2025-10-31 20:42:49 +08:00 
			
		
		
		
	libavformat: Fix several "incompatible pointer type" warnings.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		| @@ -665,7 +665,7 @@ int ffio_fdopen(AVIOContext **s, URLContext *h) | |||||||
|         return AVERROR(ENOMEM); |         return AVERROR(ENOMEM); | ||||||
|  |  | ||||||
|     *s = avio_alloc_context(buffer, buffer_size, h->flags & AVIO_FLAG_WRITE, h, |     *s = avio_alloc_context(buffer, buffer_size, h->flags & AVIO_FLAG_WRITE, h, | ||||||
|                             ffurl_read, ffurl_write, ffurl_seek); |                             (void*)ffurl_read, (void*)ffurl_write, (void*)ffurl_seek); | ||||||
|     if (!*s) { |     if (!*s) { | ||||||
|         av_free(buffer); |         av_free(buffer); | ||||||
|         return AVERROR(ENOMEM); |         return AVERROR(ENOMEM); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Michael Niedermayer
					Michael Niedermayer