[FFmpeg-cvslog] ffmpeg: silence two compiler warnings.
Clément Bœsch
git at videolan.org
Sun Oct 30 02:36:46 CEST 2011
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Sun Oct 30 02:35:34 2011 +0200| [41f00e4adbe11f02b2f9e11c4872cf139c9b25ed] | committer: Clément Bœsch
ffmpeg: silence two compiler warnings.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=41f00e4adbe11f02b2f9e11c4872cf139c9b25ed
---
ffmpeg.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index f2c0bf2..3d7c623 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1609,7 +1609,7 @@ static int output_packet(InputStream *ist, int ist_index,
#if CONFIG_AVFILTER
int frame_available;
#endif
- float quality;
+ float quality = 0;
AVPacket avpkt;
int bps = av_get_bytes_per_sample(ist->st->codec->sample_fmt);
@@ -3901,6 +3901,8 @@ static void opt_output_file(void *optctx, const char *filename)
METADATA_CHECK_INDEX(map->index, files[j]->nb_programs, "program")
meta[j] = &files[j]->programs[map->index]->metadata;
break;
+ default:
+ abort();
}
}
More information about the ffmpeg-cvslog
mailing list