Commit 41f00e4a authored by Clément Bœsch's avatar Clément Bœsch

ffmpeg: silence two compiler warnings.

parent e1d61351
...@@ -1609,7 +1609,7 @@ static int output_packet(InputStream *ist, int ist_index, ...@@ -1609,7 +1609,7 @@ static int output_packet(InputStream *ist, int ist_index,
#if CONFIG_AVFILTER #if CONFIG_AVFILTER
int frame_available; int frame_available;
#endif #endif
float quality; float quality = 0;
AVPacket avpkt; AVPacket avpkt;
int bps = av_get_bytes_per_sample(ist->st->codec->sample_fmt); 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) ...@@ -3901,6 +3901,8 @@ static void opt_output_file(void *optctx, const char *filename)
METADATA_CHECK_INDEX(map->index, files[j]->nb_programs, "program") METADATA_CHECK_INDEX(map->index, files[j]->nb_programs, "program")
meta[j] = &files[j]->programs[map->index]->metadata; meta[j] = &files[j]->programs[map->index]->metadata;
break; break;
default:
abort();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment