[FFmpeg-devel] [PATCH v1 1/1] libavformat/amr.c: remove mode range check

2021-09-04 Thread sunzhenliang
Those comfort noise frames and empty frames should be considered the correct frame. And amr.c/amr_read_packet() also takes them as correct frames too. Signed-off-by: sunzhenliang --- libavformat/amr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/amr.c b

[FFmpeg-devel] [PATCH v1 1/1] avformat/amr: Return PATCHWELCOME on stereo files

2021-09-15 Thread sunzhenliang
Signed-off-by: sunzhenliang --- libavformat/amr.c | 22 ++ 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/libavformat/amr.c b/libavformat/amr.c index 836b276fd5..2762010ebe 100644 --- a/libavformat/amr.c +++ b/libavformat/amr.c @@ -36,8 +36,10 @@ typedef

[FFmpeg-devel] [PATCH v1] doc/examples/transcoding: set ret before goto end

2022-03-06 Thread sunzhenliang
Signed-off-by: sunzhenliang --- doc/examples/transcoding.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/examples/transcoding.c b/doc/examples/transcoding.c index badfba62cb..24e64e572e 100644 --- a/doc/examples/transcoding.c +++ b/doc/examples/transcoding.c