diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-10-30 02:35:34 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2011-10-30 02:35:34 +0200 |
commit | 41f00e4adbe11f02b2f9e11c4872cf139c9b25ed (patch) | |
tree | e5dd3c84cc0f943048dde9a32941b0e1117bbe8c /ffmpeg.c | |
parent | e1d613515b77e6e603e8a172cd8d295856d59f24 (diff) | |
download | ffmpeg-41f00e4adbe11f02b2f9e11c4872cf139c9b25ed.tar.gz |
ffmpeg: silence two compiler warnings.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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(); } } |