diff mbox series

[FFmpeg-devel,3/3] avcodec/mpeg12dec: remove outdated comments

Message ID 20200606180815.12736-3-michael@niedermayer.cc
State Accepted
Commit 48de8f5816aa54dc584aeb2dbbf63a0e880279e2
Headers show
Series [FFmpeg-devel,1/3] avformat/oggdec: Initialize return value from ogg_read_page() and check it everywhere | expand

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Michael Niedermayer June 6, 2020, 6:08 p.m. UTC
Found-by: Kieran
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 libavcodec/mpeg12dec.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Michael Niedermayer June 11, 2020, 12:51 p.m. UTC | #1
On Sat, Jun 06, 2020 at 08:08:15PM +0200, Michael Niedermayer wrote:
> Found-by: Kieran
> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
> ---
>  libavcodec/mpeg12dec.c | 3 ---
>  1 file changed, 3 deletions(-)

will apply

[...]
diff mbox series

Patch

diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c
index 40d054def5..ff81364fd1 100644
--- a/libavcodec/mpeg12dec.c
+++ b/libavcodec/mpeg12dec.c
@@ -221,7 +221,6 @@  end:
 }
 
 /**
- * Note: this function can read out of range and crash for corrupt streams.
  * Changing this would eat up any speed benefits it has.
  * Do not use "fast" flag if you need the code to be robust.
  */
@@ -397,7 +396,6 @@  end:
 }
 
 /**
- * Note: this function can read out of range and crash for corrupt streams.
  * Changing this would eat up any speed benefits it has.
  * Do not use "fast" flag if you need the code to be robust.
  */
@@ -559,7 +557,6 @@  static inline int mpeg2_decode_block_intra(MpegEncContext *s,
 }
 
 /**
- * Note: this function can read out of range and crash for corrupt streams.
  * Changing this would eat up any speed benefits it has.
  * Do not use "fast" flag if you need the code to be robust.
  */