diff --git a/.gitignore b/.gitignore
index 1f13ec4f01267943f983224daf11f5d80be463fe..7d8addade9aa09b9c45d954f711ff6f81dad1fec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,7 +36,7 @@
 /doc/avoptions_codec.texi
 /doc/avoptions_format.texi
 /doc/examples/decoding_encoding
-/doc/examples/demuxing
+/doc/examples/demuxing_decoding
 /doc/examples/filtering_audio
 /doc/examples/filtering_video
 /doc/examples/metadata
diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index 3d698cc08a9f450a7fc3e440eb3d48b5132d770a..cc5ee1121ff4a9da6db8a8311a17a7c8d54ea20d 100644
--- a/doc/examples/Makefile
+++ b/doc/examples/Makefile
@@ -12,7 +12,7 @@ CFLAGS := $(shell pkg-config --cflags $(FFMPEG_LIBS)) $(CFLAGS)
 LDLIBS := $(shell pkg-config --libs $(FFMPEG_LIBS)) $(LDLIBS)
 
 EXAMPLES=       decoding_encoding                  \
-                demuxing                           \
+                demuxing_decoding                  \
                 filtering_video                    \
                 filtering_audio                    \
                 metadata                           \
diff --git a/doc/examples/demuxing.c b/doc/examples/demuxing_decoding.c
similarity index 99%
rename from doc/examples/demuxing.c
rename to doc/examples/demuxing_decoding.c
index b13246e2a40f1cff387a95683707d696259f1b20..325c7b8cda76017f59593745c80750a7b181e221 100644
--- a/doc/examples/demuxing.c
+++ b/doc/examples/demuxing_decoding.c
@@ -22,11 +22,11 @@
 
 /**
  * @file
- * libavformat demuxing API use example.
+ * Demuxing and decoding example.
  *
  * Show how to use the libavformat and libavcodec API to demux and
  * decode audio and video data.
- * @example doc/examples/demuxing.c
+ * @example doc/examples/demuxing_decoding.c
  */
 
 #include <libavutil/imgutils.h>