diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-02-23 01:05:08 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-02-23 01:05:08 +0000 |
| commit | e1863a2767e5b8aebac53d8118730fadc369dbf3 (patch) | |
| tree | 47224906b9ac578df426c736d45b3e03c1781f87 | |
| parent | 855f2061bd2b85a8cfbffd915250474131b4da16 (diff) | |
More back-compat.
| -rw-r--r-- | ffcmp.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |
