[FFmpeg-cvslog] avcodec/atrac3: Use av_unreachable() instead of av_assert1(0)
Andreas Rheinhardt
git at videolan.org
Wed May 21 13:48:09 EEST 2025
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Tue May 6 18:03:59 2025 +0200| [2a5ee83442fd93f90937f424bfd1219499878efc] | committer: Andreas Rheinhardt
avcodec/atrac3: Use av_unreachable() instead of av_assert1(0)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2a5ee83442fd93f90937f424bfd1219499878efc
---
libavcodec/atrac3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/atrac3.c b/libavcodec/atrac3.c
index faa3daa9e6..fe156fa482 100644
--- a/libavcodec/atrac3.c
+++ b/libavcodec/atrac3.c
@@ -526,7 +526,7 @@ static void reverse_matrixing(float *su1, float *su2, int *prev_code,
}
break;
default:
- av_assert1(0);
+ av_unreachable("curr_code/matrix_coeff_index_* values are stored in two bits");
}
}
}
More information about the ffmpeg-cvslog
mailing list