projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
855f206
)
More back-compat.
author
Carl Hetherington
<cth@carlh.net>
Fri, 23 Feb 2018 01:05:08 +0000
(
01:05
+0000)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 23 Feb 2018 01:05:08 +0000
(
01:05
+0000)
ffcmp.c
patch
|
blob
|
history
diff --git
a/ffcmp.c
b/ffcmp.c
index b160de634842ef1d722262f2641ddd0356d0f313..b9ed14d362a801519405c8a33b9dd7f799cf3747 100644
(file)
--- a/
ffcmp.c
+++ b/
ffcmp.c
@@
-53,7
+53,11
@@
open_file(char* filename)
}
}
+#ifdef FFCMP_HAVE_AVUTIL_FRAME_H
file.current_frame = av_frame_alloc();
+#else
+ file.current_frame = av_alloc_frame();
+#endif
if (!file.current_frame) {
fprintf(stderr, "Could not allocate frame.\n");
exit(EXIT_FAILURE);