projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix 1877061: fix build problem with newer versions of libavformat due to the pb membe...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
mod_libavcodec
/
trgt_av.cpp
diff --git
a/synfig-core/trunk/src/modules/mod_libavcodec/trgt_av.cpp
b/synfig-core/trunk/src/modules/mod_libavcodec/trgt_av.cpp
index
8a3e373
..
f1d9333
100644
(file)
--- a/
synfig-core/trunk/src/modules/mod_libavcodec/trgt_av.cpp
+++ b/
synfig-core/trunk/src/modules/mod_libavcodec/trgt_av.cpp
@@
-674,7
+674,11
@@
public:
if(!(format->flags & AVFMT_NOFILE))
{
/* close the output file */
+#if LIBAVFORMAT_VERSION_INT >= (52<<16)
+ url_fclose(formatc->pb);
+#else
url_fclose(&formatc->pb);
+#endif
}
/* free the stream */