Fix the ffmpeg configure test so it doesn't try to use a function that has been deprecated for well over a fucking year and a half (since before 0.5, in fact).

Originally committed to SVN as r4515.
This commit is contained in:
Karl Blomster 2010-06-14 20:55:35 +00:00
parent 5338a60cdb
commit 0061a58210

View file

@ -687,7 +687,7 @@ int main (void) {
SwsContext *swsc = NULL;
av_register_all();
fc = av_alloc_format_context();
fc = avformat_alloc_context();
if (fc == NULL) {
printf("avformat failure\n");
return 1;