forked from mia/Aegisub
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:
parent
5338a60cdb
commit
0061a58210
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue