Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.6:Update
moc
0006-uncast-warnings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0006-uncast-warnings.patch of Package moc
From 27fa391c6b3361ef781dbf0a045445ceabfaa07f Mon Sep 17 00:00:00 2001 From: John Fitzgerald <mocmaint@daper.net> Date: Sat, 25 Jun 2022 13:18:08 +0300 Subject: [PATCH 2/3] uncast warnings Signed-off-by: Elimar Riesebieter <riesebie@lxtec.de> --- decoder_plugins/ffmpeg/ffmpeg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/decoder_plugins/ffmpeg/ffmpeg.c b/decoder_plugins/ffmpeg/ffmpeg.c index f5ea484..fd4582f 100644 --- a/decoder_plugins/ffmpeg/ffmpeg.c +++ b/decoder_plugins/ffmpeg/ffmpeg.c @@ -79,7 +79,7 @@ struct ffmpeg_data AVIOContext *pb; AVStream *stream; AVCodecContext *enc; - AVCodec *codec; + const AVCodec *codec; char *remain_buf; int remain_buf_len; @@ -848,7 +848,7 @@ static int ffmpeg_can_decode (struct io_stream *stream) { int res; AVProbeData probe_data; - AVInputFormat *fmt; + const AVInputFormat *fmt; char buf[8096 + AVPROBE_PADDING_SIZE] = {0}; res = io_peek (stream, buf, sizeof (buf)); @@ -1411,7 +1411,7 @@ static int ffmpeg_our_format_ext (const char *ext) static int ffmpeg_our_format_mime (const char *mime_type) { - AVOutputFormat *fmt; + const AVOutputFormat *fmt; fmt = av_guess_format (NULL, NULL, mime_type); return fmt ? 1 : 0; -- 2.36.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor