summaryrefslogtreecommitdiff
path: root/libavcodec/png.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-06-14 18:03:55 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-22 15:29:46 +0200
commit25c8507818d8559a6654a5b30a0f8aae11a48181 (patch)
tree59f768e70e21d07f26a97724a2022c6d855cfcf1 /libavcodec/png.c
parente3023e901524d1f9f59167962ee47672e61c2bc9 (diff)
downloadffmpeg-25c8507818d8559a6654a5b30a0f8aae11a48181.tar.gz
Remove/replace some unnecessary avcodec.h inclusions
Also remove other unnecessary headers and include headers directly while at it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/png.c')
-rw-r--r--libavcodec/png.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/png.c b/libavcodec/png.c
index ef52b51bd4..4ea286075d 100644
--- a/libavcodec/png.c
+++ b/libavcodec/png.c
@@ -18,7 +18,9 @@
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "avcodec.h"
+
+#include <stdint.h>
+#include "libavutil/mem.h"
#include "png.h"
/* Mask to determine which y pixels are valid in a pass */