doc/codecs: fix dangling reference to codec-options chapter
(cherry picked from commit b4bd21b7fe2ad8be59b16538448586814e5db65b)
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Conflicts:
doc/codecs.texi
diff --git a/doc/encoders.texi b/doc/encoders.texi
index f763b4d..121e865 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -871,7 +871,7 @@
To reduce the duplication of documentation, only the private options
and some others requiring special attention are documented here. For
the documentation of the undocumented generic options, see
-@ref{codec-options}.
+@ref{codec-options,,the Codec Options chapter}.
To get a more accurate and extensive documentation of the libx264
options, invoke the command @command{x264 --full-help} or consult
diff --git a/doc/ffmpeg-codecs.texi b/doc/ffmpeg-codecs.texi
index db20aec..c53531d 100644
--- a/doc/ffmpeg-codecs.texi
+++ b/doc/ffmpeg-codecs.texi
@@ -17,6 +17,7 @@
@c man end DESCRIPTION
+@anchor{codec-options}
@chapter Codec Options
@c man begin CODEC OPTIONS