Merge r4515 from trunk to fix configure test for FFmpeg so it actually works with modern versions.

Originally committed to SVN as r5379.
This commit is contained in:
Niels Martin Hansen 2011-04-26 11:18:20 +00:00
parent 55bdd3868b
commit bf9f026dd1
1 changed files with 1 additions and 1 deletions

View File

@ -657,7 +657,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;