|
@@ -436,7 +436,11 @@ int gsd_close_mpeg(void)
|
|
|
|
|
|
if (!(fmt->flags & AVFMT_NOFILE)) {
|
|
if (!(fmt->flags & AVFMT_NOFILE)) {
|
|
/* close the output file */
|
|
/* close the output file */
|
|
|
|
+#if (LIBAVFORMAT_VERSION_INT>>16) < 52
|
|
|
|
+ url_fclose(&oc->pb);
|
|
|
|
+#else
|
|
url_fclose(oc->pb);
|
|
url_fclose(oc->pb);
|
|
|
|
+#endif
|
|
}
|
|
}
|
|
|
|
|
|
/* free the stream */
|
|
/* free the stream */
|