doc/codecs: fix dangling reference to codec-options chapter
(cherry picked from commit b4bd21b7fe2ad8be59b16538448586814e5db65b)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
diff --git a/doc/codecs.texi b/doc/codecs.texi
index 4af8dcd..6ff2a65 100644
--- a/doc/codecs.texi
+++ b/doc/codecs.texi
@@ -1,3 +1,4 @@
+@anchor{codec-options}
 @chapter Codec Options
 @c man begin CODEC OPTIONS
 
diff --git a/doc/encoders.texi b/doc/encoders.texi
index 3b35c95..b3e574a 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -1005,7 +1005,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