diff options
Diffstat (limited to 'media-video/dvbcut/files/dvbcut-0.5.4-avformat-api-changes.patch')
-rw-r--r-- | media-video/dvbcut/files/dvbcut-0.5.4-avformat-api-changes.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/media-video/dvbcut/files/dvbcut-0.5.4-avformat-api-changes.patch b/media-video/dvbcut/files/dvbcut-0.5.4-avformat-api-changes.patch new file mode 100644 index 000000000000..e9e7a58b188e --- /dev/null +++ b/media-video/dvbcut/files/dvbcut-0.5.4-avformat-api-changes.patch @@ -0,0 +1,16 @@ +Index: src/lavfmuxer.cpp +=================================================================== +--- src/lavfmuxer.cpp (revision 101) ++++ src/lavfmuxer.cpp (working copy) +@@ -120,7 +120,11 @@ + if (fileopened) { + av_write_trailer(avfc); + if (!(fmt->flags & AVFMT_NOFILE)) ++#if LIBAVFORMAT_VERSION_INT >= ((52<<16)+(0<<8)+0) ++ url_fclose(avfc->pb); ++#else + url_fclose(&avfc->pb); ++#endif + } + + av_free(avfc); |