diff --git a/libavcodec/tests/.gitignore b/libavcodec/tests/.gitignore
index d8ab947abe171c206a8dba73b6ae14b6e9275403..0ab029696dc5a3191960c736e2c50bee25084595 100644
--- a/libavcodec/tests/.gitignore
+++ b/libavcodec/tests/.gitignore
@@ -1,4 +1,5 @@
 /avfft
+/avpacket
 /cabac
 /dct
 /fft