[FFmpeg-devel] [PATCH] flvdec: Check the avio_seek return value after reading a metadata packet

2023-06-20 Thread Armstrong Huang
if necessary, than to silently try to read from a desynchronized stream that will only be interpreted as garbage. Signed-off-by: Armstrong Huang --- libavformat/flvdec.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index

[FFmpeg-devel] [PATCH] flvdec: Check the avio_seek return value after reading a metadata packet

2023-06-19 Thread Armstrong Huang
if necessary, than to silently try to read from a desynchronized stream that will only be interpreted as garbage. Signed-off-by: Armstrong Huang --- libavformat/flvdec.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index