[FFmpeg-devel] [PATCH] avformat/dvdvideodec: Remove redundant ret initializations

Stefano Sabatini stefasab at gmail.com
Sat Jul 6 14:11:50 EEST 2024


On date Tuesday 2024-07-02 01:03:29 -0500, Marth64 wrote:
> Remove initializing ret = 0, in areas where ret is
> only used to hold an error value, immediately returned,
> and the function would otherwise return a literal 0.
> 
> Signed-off-by: Marth64 <marth64 at proxyid.net>
> ---
>  libavformat/dvdvideodec.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)

LGTM.


More information about the ffmpeg-devel mailing list