* [FFmpeg-devel] [PATCH 1/3] avcodec/vaapi_encode: Avoid double AVERRORS
@ 2023-10-02 15:31 Michael Niedermayer
2023-10-02 15:31 ` [FFmpeg-devel] [PATCH 2/3] avfilter/vf_vidstabdetect: " Michael Niedermayer
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Michael Niedermayer @ 2023-10-02 15:31 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
libavcodec/vaapi_encode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c
index e3820956d16..6c3e41fb318 100644
--- a/libavcodec/vaapi_encode.c
+++ b/libavcodec/vaapi_encode.c
@@ -834,7 +834,7 @@ static int vaapi_encode_output(AVCodecContext *avctx,
if (pic->tail_size) {
if (ctx->tail_pkt->size) {
- err = AVERROR(AVERROR_BUG);
+ err = AVERROR_BUG;
goto end;
}
--
2.17.1
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 4+ messages in thread
* [FFmpeg-devel] [PATCH 2/3] avfilter/vf_vidstabdetect: Avoid double AVERRORS
2023-10-02 15:31 [FFmpeg-devel] [PATCH 1/3] avcodec/vaapi_encode: Avoid double AVERRORS Michael Niedermayer
@ 2023-10-02 15:31 ` Michael Niedermayer
2023-10-02 15:31 ` [FFmpeg-devel] [PATCH 3/3] avformat/flacdec: " Michael Niedermayer
2023-12-29 20:36 ` [FFmpeg-devel] [PATCH 1/3] avcodec/vaapi_encode: " Michael Niedermayer
2 siblings, 0 replies; 4+ messages in thread
From: Michael Niedermayer @ 2023-10-02 15:31 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
libavfilter/vf_vidstabdetect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_vidstabdetect.c b/libavfilter/vf_vidstabdetect.c
index a2c6d895037..641040008a6 100644
--- a/libavfilter/vf_vidstabdetect.c
+++ b/libavfilter/vf_vidstabdetect.c
@@ -167,7 +167,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
}
if (vsMotionDetection(md, &localmotions, &frame) != VS_OK) {
av_log(ctx, AV_LOG_ERROR, "motion detection failed");
- return AVERROR(AVERROR_EXTERNAL);
+ return AVERROR_EXTERNAL;
} else {
if (vsWriteToFile(md, s->f, &localmotions) != VS_OK) {
int ret = AVERROR(errno);
--
2.17.1
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 4+ messages in thread
* [FFmpeg-devel] [PATCH 3/3] avformat/flacdec: Avoid double AVERRORS
2023-10-02 15:31 [FFmpeg-devel] [PATCH 1/3] avcodec/vaapi_encode: Avoid double AVERRORS Michael Niedermayer
2023-10-02 15:31 ` [FFmpeg-devel] [PATCH 2/3] avfilter/vf_vidstabdetect: " Michael Niedermayer
@ 2023-10-02 15:31 ` Michael Niedermayer
2023-12-29 20:36 ` [FFmpeg-devel] [PATCH 1/3] avcodec/vaapi_encode: " Michael Niedermayer
2 siblings, 0 replies; 4+ messages in thread
From: Michael Niedermayer @ 2023-10-02 15:31 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
libavformat/flacdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/flacdec.c b/libavformat/flacdec.c
index 5104f231105..ab9ef052f9f 100644
--- a/libavformat/flacdec.c
+++ b/libavformat/flacdec.c
@@ -78,7 +78,7 @@ static int flac_read_header(AVFormatContext *s)
/* process metadata blocks */
while (!avio_feof(s->pb) && !metadata_last) {
if (avio_read(s->pb, header, 4) != 4)
- return AVERROR(AVERROR_INVALIDDATA);
+ return AVERROR_INVALIDDATA;
flac_parse_block_header(header, &metadata_last, &metadata_type,
&metadata_size);
switch (metadata_type) {
--
2.17.1
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [FFmpeg-devel] [PATCH 1/3] avcodec/vaapi_encode: Avoid double AVERRORS
2023-10-02 15:31 [FFmpeg-devel] [PATCH 1/3] avcodec/vaapi_encode: Avoid double AVERRORS Michael Niedermayer
2023-10-02 15:31 ` [FFmpeg-devel] [PATCH 2/3] avfilter/vf_vidstabdetect: " Michael Niedermayer
2023-10-02 15:31 ` [FFmpeg-devel] [PATCH 3/3] avformat/flacdec: " Michael Niedermayer
@ 2023-12-29 20:36 ` Michael Niedermayer
2 siblings, 0 replies; 4+ messages in thread
From: Michael Niedermayer @ 2023-12-29 20:36 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1.1: Type: text/plain, Size: 442 bytes --]
On Mon, Oct 02, 2023 at 05:31:01PM +0200, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
> ---
> libavcodec/vaapi_encode.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
will apply patchset
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 251 bytes --]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-12-29 20:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-02 15:31 [FFmpeg-devel] [PATCH 1/3] avcodec/vaapi_encode: Avoid double AVERRORS Michael Niedermayer
2023-10-02 15:31 ` [FFmpeg-devel] [PATCH 2/3] avfilter/vf_vidstabdetect: " Michael Niedermayer
2023-10-02 15:31 ` [FFmpeg-devel] [PATCH 3/3] avformat/flacdec: " Michael Niedermayer
2023-12-29 20:36 ` [FFmpeg-devel] [PATCH 1/3] avcodec/vaapi_encode: " Michael Niedermayer
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git