mirror of https://github.com/odrling/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
|
@ -687,7 +687,7 @@ int main (void) {
|
||||||
SwsContext *swsc = NULL;
|
SwsContext *swsc = NULL;
|
||||||
|
|
||||||
av_register_all();
|
av_register_all();
|
||||||
fc = av_alloc_format_context();
|
fc = avformat_alloc_context();
|
||||||
if (fc == NULL) {
|
if (fc == NULL) {
|
||||||
printf("avformat failure\n");
|
printf("avformat failure\n");
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue