ndition sys/version.h "defined __DJGPP__"; then
+eval ${pfx}libc_type=djgpp
+add_cppflags -U__STRICT_ANSI__
fi
test_${pfx}cc <
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
_
PP__"; then
eval ${pfx}libc_type=djgpp
add_cppflags -U__STRICT_ANSI__
+add_cflags "-include $source_path/compat/djgpp/math.h"
fi
test_${pfx}cc <
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.a
t;%"PRId64, frames);
+snprintf(buffer, sizeof(buffer)-1, "%zd", frames);
drawtext(out, xpos, ypos, buffer, frames > 0 ? frames >= 10 ? frames
>= 50 ? s->red : s->yellow : s->green : s->white);
xpos += strlen(buffer) * 8;
}
--
2.17.1
snprintf(buffer, sizeof(buffer)-1, "%"SIZE_SPECIFIER, frames);
drawtext(out, xpos, ypos, buffer, frames > 0 ? frames >= 10 ? frames
>= 50 ? s->red : s->yellow : s->green : s->white);
xpos += strlen(buffer) * 8;
}
--
2.17.1
-- Peter
(A907 E02F A6
eader = 0;
@@ -191,7 +191,7 @@ int main(int argc, char **argv)
if (ret != sizeof(uint16_t))
break;
-size = ntohs(size);
+size = av_be2ne16(size);
ret = fread(p, 1, size, file);
if (ret != size) {
perror("Couldn't read
revised ffmpeg dos patch set. passes fate.
Peter Ross (5):
configure: detect djgpp libc
additional math.h functions for djgpp
configure: memalign is broken on djgpp 2.05
avpriv_tempfile: add djgpp fallback
fate-api-h264-slice: use the heap for nal buffer
compat/djgpp/math.c
{pfx}cppflags -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
+elif test_${pfx}cpp_condition sys/version.h "defined __DJGPP__"; then
+eval ${pfx}libc_type=djgpp
+add_cppflags -U__STRICT_ANSI__
fi
test_${pfx}cc <
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34C
8,7 @@ compat/avisynth/avxsynth_c.h
compat/avisynth/windowsPorts/basicDataTypeConversions.h
compat/avisynth/windowsPorts/windows2linux.h
compat/cuda/dynlink_loader.h
+compat/djgpp/math.h
compat/float/float.h
compat/float/limits.h
Use of av_clip() where av_clip_uintp2() could be used:
--
2.17.1
ble posix_memalign
-fi
+;;
+*-dos|freedos|opendos)
+if test_cpp_condition sys/version.h "defined(__DJGPP__) && __DJGPP__ == 2
&& __DJGPP_MINOR == 5"; then
+disable memalign
+fi
+;;
+esac
flatten_extralibs(){
nested_entries=
--
2.17.1
-- Peter
(A907
filename, len, "./%sXX", prefix);
fd = mkstemp(*filename);
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
ht
e)
fclose(file);
av_frame_free(&frame);
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
idea to detect and error out early.
>
> Thanks!
cool. is this dst-based, or your own algorithm?
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
___
ffmpeg-devel mailing list
ffmpeg-devel@f
On Tue, Nov 20, 2018 at 11:26:31PM +0100, Michael Niedermayer wrote:
> On Tue, Nov 20, 2018 at 11:24:10PM +0100, Michael Niedermayer wrote:
> > On Wed, Nov 21, 2018 at 01:29:48AM +1100, Peter Ross wrote:
> > > djgpp 2.05 finally provides posix-compatible memalign, but it is br
/os_support.h
+++ b/libavformat/os_support.h
@@ -76,7 +76,7 @@ static inline int is_dos_path(const char *path)
return 0;
}
-#if defined(__OS2__)
+#if defined(__OS2__) || defined(__DJGPP__)
#define SHUT_RD 0
#define SHUT_WR 1
#define SHUT_RDWR 2
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD
)
-network_extralibs="-lsocket"
+network_extralibs="-lwatt"
objformat="coff"
enable dos_paths
;;
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
__
efine SHUT_WR 1
+#define SHUT_RDWR 2
+#endif
+#endif
+
#if !HAVE_SOCKLEN_T
typedef int socklen_t;
#endif
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
___
ffmpeg-devel mailing list
ffmpeg-
| last_err == AVERROR(EISCONN)) {
// Everything is ok, we seem to have a successful
// connection. Close other sockets and return this one.
for (j = 0; j < nb_attempts; j++)
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 7
t;
> Fix should be changing side_data type from "char *" to "uint8_t *".
looks good. i will apply if no one else rejects.
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
On Wed, Nov 28, 2018 at 10:03:15PM +1100, Peter Ross wrote:
> sys/socket.h (with WIN32 guard) is needed to check if the SHUT_xxx macro
> exists.
> and because of this, SHUT_xxx defs have been moved into the CONFIG_NETWORK
> block,
> since they only affect network ca
;& enable memalign
-check_func ${malloc_prefix}posix_memalign && enable posix_memalign
+check_func ${malloc_prefix}memalign ${malloc_extralibs} && enable memalign
+check_func ${malloc_prefix}posix_memalign ${malloc_extralibs} && enable
posix_memalign
check_func
/version.h "defined(__DJGPP__) && __DJGPP__ == 2
&& __DJGPP_MINOR__ == 5"; then
+if test -z "$custom_allocator" && test_cpp_condition sys/version.h
"defined(__DJGPP__) && __DJGPP__ == 2 && __DJGPP_MINOR__ == 5"; then
disa
prefix
require libjemalloc jemalloc/jemalloc.h malloc -ljemalloc
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
, superblock_count);
> -#undef copy_fields
> +if (qps_changed) {
> +memcpy(s->qps, s1->qps, sizeof(s->qps));
> + memcpy(s->last_qps, s1->last_qps, sizeof(s->last_qps));
> +s-
0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0,
> +};
> +
> +static const uint8_t bink2_next_skips[] = {
> +0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0,
>
bink2f_next_skips and bink2_next_skips are identical. can you double check?
> +static const uint8_t ones_count[16] = {
> +
= x / 32;
> +c->current_idc[c->mb_pos].block_type = type;
> +flags = 0;
> +if (y == start)
> +flags |= 0x80;
> +if (!x)
> + flags |= 0x20;
> +if (x == 32)
> +flags |= 0
goto error;
}
@@ -2892,7 +2892,7 @@ error:
if (!HAVE_THREADS || !(s->avctx->active_thread_type & FF_THREAD_FRAME))
av_frame_unref(s->current_frame.f);
-return -1;
+return ret;
}
static int read_huffman_tree(AVCodecContext *avctx, GetBitContext *g
(s->next_refs[i].f) {
if (s->next_refs[i].f->buf[0])
ff_thread_release_buffer(avctx, &s->next_refs[i]);
av_frame_free(&s->next_refs[i].f);
+}
}
free_buffers(s);
--
2.20.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description:
ctx, &s->next_refs[i]);
-av_frame_free(&s->next_refs[i].f);
+if (s->next_refs[i].f->buf[0])
+ff_thread_release_buffer(avctx, &s->next_refs[i]);
+av_frame_free(&s->next_refs[i].f);
}
}
--
2.20.1
-- Pete
3 + (i && s->chroma_y_shift))) - 1;
-apply_loop_filter(s, i, row, row + 1);
-}
+for (i = 0; i < 3; i++) {
+int row = (s->height >> (3 + (i && s->chroma_y_shift))) - 1;
+apply_loop_filter(s, i, row, row + 1);
+}
vp
Signed-off-by: Peter Ross
Reviewed-by: James Almer
---
libavcodec/vp9.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index 7ee375d4d0..2e6cd912a5 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -1216,17 +1216,14
coder"
msmpeg4v3_encoder_select="h263_encoder"
mss2_decoder_select="mpegvideo qpeldsp vc1_decoder"
mts2_decoder_select="mss34dsp"
+mv30_decoder_select="blockdsp"
mvha_decoder_deps="zlib"
mvha_decoder_select="llviddsp"
mwsc_decoder_deps=&qu
,
};
static const uint8_t zigzag[] = {
--
2.20.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To
18, 22, 27, 44, 47, 46,
@@ -116,7 +98,7 @@ static void get_qtable(int16_t *table, int quant, const
uint8_t *quant_tab)
for (int i = 0; i < 64; i++) {
table[i] = av_clip((quant_tab[i] * factor + 0x32) / 100, 1, 0x7fff);
-table[i] = ((int)scale_tab[i] * (int)table[i] + 0x800) &
>= ic->nb_streams)
return;
codecpar = ic->streams[stream_index]->codecpar;
--
2.20.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
___
ffmpeg-devel mailing list
ffmpeg-devel
ereo3d) {
+ret = AVERROR(ENOMEM);
goto fail;
+}
if (mode == 0 || mode == 1) {
stereo3d->type = AV_STEREO3D_SIDEBYSIDE;
--
2.20.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC4
Signed-off-by: Peter Ross
Reviewed-by: Marton Balint
---
Great suggestion. I will apply in a few days if no objections.
fftools/ffplay.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fftools/ffplay.c b/fftools/ffplay.c
index 1beec54293..d673b8049a 100644
--- a
lt;= src_end) {
> +while (src_end - src >= 5) {
> int opcode;
> opcode = *(int8_t *)src++;
> if (opcode >= 0) {
> --
> 2.17.1
looks good. please apply.
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signat
if (src_end - src < length)
> +return;
> memcpy(dst + y*linesize + x * 4, src, length * 4);
> src += length * 4;
> x += length;
hi michael.
i think the guard should be:
if (src_end - src < length * 4)
return;
c
;
> #include "libavutil/log.h"
> #include "libavutil/mem.h"
> -#include "libavutil/opt.h"
>
> #include "bsf.h"
> #include "get_bits.h"
> --
> 2.20.1
looks good. please apply.
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 676
(pb);
> -if (len < 32) {
> +if (len < 32 || len > INT_MAX - 7) {
> int ret;
> if (avio_feof(pb))
> return AVERROR_EOF;
the + 7 comes from WTV_PAD calculation
looks good
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
__
+}
> if (mb_y == 0)
> AV_WN32A((mb - s->mb_width - 1)->intra4x4_pred_mode_top,
> DC_PRED * 0x01010101);
ok
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
buf_size, int64_t value)
> {
> -time_t t = (av_int2double(value) - 25569.0) * 86400;
> +time_t t = (av_int2double(av_le2ne64(value)) - 25569.0) * 86400;
> struct tm tmbuf;
> struct tm *tm= gmtime_r(&t, &tmbuf);
> if (!tm)
> --
> 2.27.0
ok, ple
Hello dear ffmpeg developers,
I have just created ticket #9135 on the bug tracker. According to the
instructions, I am sending the patch to this list, see attachment.
Peter
diff --git a/configure b/configure
index d11942fced..bcc845668b 100755
--- a/configure
+++ b/configure
@@ -6490,7
Sorry, apparently patches need to be sent inline, I just noticed. Please
excuse my ignorance.
Peter
diff --git a/configure b/configure
index d11942fced..bcc845668b 100755
--- a/configure
+++ b/configure
@@ -6490,7 +6490,7 @@ enabled mmal && { check_lib mmal
interface/mma
On 02.03.21 17:56, James Almer wrote:
On 3/2/2021 1:25 PM, Peter White wrote:
Sorry, apparently patches need to be sent inline, I just noticed.
Please excuse my ignorance.
They don't need to be inline, although it is preferred. What they need
to be is made with git format-patch,
On 02.03.21 23:15, Marton Balint wrote:
On Tue, 2 Mar 2021, Peter White wrote:
On 02.03.21 17:56, James Almer wrote:
On 3/2/2021 1:25 PM, Peter White wrote:
Sorry, apparently patches need to be sent inline, I just noticed.
Please excuse my ignorance.
They don't need to be i
This is a test to check if my postfix setup does what I intend.
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject
properly
anyways but procrastinated it until now. Now I have finally done it.
Shall I send the patch again, opening a new thread, or will the previous
attachment suffice? So far it seems to be getting ignored, or do I
simply need to be more patient?
Peter
_
On Tue, Mar 09, 2021 at 12:48:45PM +0100, zsugabubus wrote:
> Hi,
>
> On Tue, Mar 09, 2021 at 10:54:22AM +0100, Paul B Mahol wrote:
> > We do not accept DRM code.
>
> Hmm. And what about only accepting files that are considered legal?
DRM is AIDS wrapped in Cancer seasoned with a smidge of Syphi
e
time before/after each cut, so that the output segments overlap?
Thank you very much in advance,
Peter B.
(*) For example:
$ ffmpeg -i day1.ts -c copy -map 0 -copy_unknown -f segment
-segment_time 3600 out/day1-%03d.ts
# Links:
[1]
https://ffmpeg.org/ffmpeg-all.html#segment_002c-stream_
n the following information:
* start-position
* end-position
* title
Creating a separate file for each start/end/title line.
We would need such a functionality for archival preservation of
multi-content recordings.
This can be a paid request.
Thank you very much in advance,
Peter B.
#
0] + x, gb.buffer,
> FFMIN(size, width - x));
> bytestream2_skip(&gb, size);
> } else {
please apply
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
_
OR_INVALIDDATA;
> -}
> -
> bytestream2_skipu(&s->gb, 16 * 8);
> for (i = 0; i < 256; i++)
> s->palette[i] = (0xFFU << 24) | bytestream2_get_le32u(&s->gb);
> --
> 2.20.1
ok.
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC4
type >>= 14;
> if (!count) {
> @@ -167,11 +166,11 @@ static int decode_frame(AVCodecContext *avctx,
> }
> continue;
> }
> -pixel = type == 3 ? b
> }
>
> if (has_partial) {
> +if (get_bits_left(gb) <= 0)
> +return AVERROR_INVALIDDATA;
> bit = get_bits1(gb);
> current_run = vp4_get_mb_count(s, gb);
> for (i = 0; i < s->yuv_macroblock_count; i++)
on't make it optional, what should the format be?
>> Thus?:
>>
>> 0,v,SHA256=...
>> 1,a,SHA256=...
>> 2,s,SHA256=...
> Looks fine.
+1 from me, too :)
I guess with multiple A/V tracks it will then be like this?
0,v,SHA256=...
1,v,SHA256
+case AV_CODEC_ID_BINKVIDEO: maxpixels /= 32; break;
> case AV_CODEC_ID_DIRAC: maxpixels /= 8192; break;
> case AV_CODEC_ID_MSRLE: maxpixels /= 16; break;
> case AV_CODEC_ID_QTRLE: maxpixels /= 16; break;
> --
> 2.23.0
approve
-- Peter
(A907 E02F
btw: If you need anything to be tested, just let me know :)
Cheers!
Peter
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org
AV_CODEC_ID_TRUEMOTION2: maxpixels /= 1024; break;
> +case AV_CODEC_ID_VP7: maxpixels /= 256; break;
> }
ok. however i am curious why this is needed for vp7 and not vp8.
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
b))
> ret = AVERROR_EOF;
> -packet_read = 1;
> +hit_end = 1;
> break;
>
> case MVIh_TAG:
> @@ -737,6 +738,9 @@ get_video_packet:
>
> if (ret < 0 && partial_packet)
> av_packet_unref(pkt);
> +
gt; + av_freep(&ast->index_entries);
> return AVERROR_INVALIDDATA;
> }
looks good. please apply.
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
__
(!s->version_b)
> --
> 2.23.0
i think this checl belongs inside the fuzzer test harness, or as a general
purpose codec check.
the bink and smaker demuxers will only ever use BINKAUDIO_RDFT with 1 or 2
channels.
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.as
On Sat, Oct 12, 2019 at 06:53:05PM -0300, James Almer wrote:
> On 10/12/2019 5:47 PM, Michael Niedermayer wrote:
> > On Fri, Oct 11, 2019 at 08:51:54PM +1100, Peter Ross wrote:
> >> On Fri, Oct 11, 2019 at 12:40:07AM +0200, Michael Niedermayer wrote:
> >>>
On Mon, Oct 14, 2019 at 10:06:55PM +0200, Michael Niedermayer wrote:
> On Sun, Oct 13, 2019 at 10:51:49AM +1100, Peter Ross wrote:
> > On Sat, Oct 12, 2019 at 06:53:05PM -0300, James Almer wrote:
> > > On 10/12/2019 5:47 PM, Michael Niedermayer wrote:
> > > > On F
acroblock
> rows */
> +render_x = vp56_rac_gets(c, 8); /* number of displayed macroblock
> cols */
> +if (render_x == 0 || render_x > cols ||
> +render_y == 0 || render_y > rows)
> +return AVERROR_INVALIDDATA;
> vp56_rac_gets(c
l
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
>
>
>
> ___
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.or
On Mon, Nov 25, 2019 at 10:14:41PM +0800, zhilizhao wrote:
> Please help to merge the patch if it’s acceptable, thanks!
no code changes, it is acceptable as-is.
>
> > On Nov 18, 2019, at 7:00 PM, Peter Ross wrote:
> >
> > On Mon, Nov 18, 2019 at 10:34:32AM +0800, zhiliz
work
on newer decoders)"
[/quote]
This should be known.
However, since I hardly see any reason to prefer v1 over v3 anymore, and
considering that it's now the most widely one used, I'm happy to see it
become default.
Any objec
> +wtvfile_close(wtv->pb);
> return ret;
> +}
> avio_seek(wtv->pb, -32, SEEK_CUR);
>
> timeline_pos = avio_tell(s->pb); // save before opening another file
> --
> 2.20.1
looks good. please apply.
-- Peter
(A90
; -return 0;
> -}
> +if (mode == SEEK_TO_PTS && wtv->pts >= seekts) {
> +avio_skip(pb, WTV_PAD8(len) - consumed);
> +return 0;
> +}
> }
> }
&
ty_demuxer = {
> .name = "tty",
> .long_name = NULL_IF_CONFIG_SMALL("Tele-typewriter"),
> .priv_data_size = sizeof(TtyDemuxContext),
> +.read_probe = read_probe,
> .read_header= read_header,
> .read_packet= read_pac
V_CODEC_ID_FFWAVESYNTH: maxsamples /= 16384; break;
> +case AV_CODEC_ID_IFF_ILBM: maxpixels /= 128; break;
> case AV_CODEC_ID_MSRLE: maxpixels /= 16; break;
> case AV_CODEC_ID_QTRLE: maxpixels /= 16; break;
> case AV_CODEC_ID_RASC: maxpixels /= 16; br
(m == 1 || m == 2 || m == 4 || m == 5 || m == 7 || m ==
8) {
+} else if (m == 1 || m == 2 || m == 3 || m == 4 || m == 5 || m ==
7 || m == 8) {
s->attributes |= 1 << (m - 1);
} else if (m >= 30 && m <= 37) {
s->
buf_size = FFMIN(buf_size, wf->length - wf->position);
> > while(nread < buf_size) {
> > -int n;
> > int remaining_in_sector = (1 << wf->sector_bits) - (wf->position &
> > ((1 << wf->sector_bits) - 1));
> > int re
size = avio_rl32(pb);
> -if (size < 0 || size > INT_MAX - 76)
> +if (size < 0 || size > INT_MAX - 76 - consumed)
> return AVERROR_INVALIDDATA;
> parse_media_type(s, s->streams[stream_inde
FIG_EATQI_DECODER) += eatqi.o eaidct.o mpeg12.o \
> + mpeg12data.o mpegvideodata.o
> OBJS-$(CONFIG_EIGHTBPS_DECODER)+= 8bps.o
> OBJS-$(CONFIG_EIGHTSVX_EXP_DECODER)+= 8svx.o
> OBJS-$(CONFIG_EIGHTSVX_FIB_DECODER)+= 8svx.o
> --
> 2.27.0
please apply
-
Call ff_sws_rgb2rgb_init via ff_thread_once instead of checking one of the
variables it updates.
---
libswscale/utils.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/libswscale/utils.c b/libswscale/utils.c
index 6bac7b658d..d673209d95 100644
--- a/libswscale/utils.c
+++
rcmp(name, "SAMPLE_WIDTH")) {
> uint64_t bpc = var_read_int(pb, size) * (uint64_t)8;
> --
> 2.17.1
please apply
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
___
ffmpeg-
n = 3;
> -else if (avctx->codec_tag == MKTAG('V', 'P', '3', '0'))
> +#if !CONFIG_VP4_DECODER
> +av_log(avctx, AV_LOG_ERROR, "This build does not support decoding
> VP4.\n");
> +return AVERROR_DECODER_NOT_FOUN
. Revision 01.20.03.
- * [2]http://msdn.microsoft.com/en-us/library/bb643323.aspx
+ *
[2]http://web.archive.org/web/20131203084402/http://msdn.microsoft.com/en-us/library/bb643323.aspx
*/
#include "avformat.h"
--
2.30.2
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5
Hi,
Would anyone consider applying this fairly simple patch to fix a
multi-threading issue in the sws initialization code?
Regards,
//Peter
On Wed, Apr 28, 2021 at 11:51 AM Peter Lundblad
wrote:
> Call ff_sws_rgb2rgb_init via ff_thread_once instead of checking one of the
> variab
))
> +return NULL;
> avio_seek(pb, -size, SEEK_CUR);
>
> st = parse_media_type(s, st, sid, mediatype, actual_subtype,
> actual_formattype, size - 32);
ok
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
n 1;
}
}
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
On Sat, Dec 15, 2018 at 03:10:52AM +0100, Carl Eugen Hoyos wrote:
> 2018-12-15 3:07 GMT+01:00, Peter Ross :
> > squelch format type warning
> > ---
> > libavutil/tests/random_seed.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff
> s->mv_bounds.mv_min.x = -MARGIN;
> s->mv_bounds.mv_max.x = ((s->mb_width - 1) << 6) + MARGIN;
> +
> +if (vpX_rac_is_end(&s->c)) {
> + return AVERROR_INVALIDDATA;
> +}
> for (mb_x = 0; mb_x <
On Sun, Dec 09, 2018 at 09:27:54AM +1100, Peter Ross wrote:
> the memalign and posix_memalign tests currently fail when using a custom
> allocator,
> because configure does not include the custom allocator library.
is any one using custom allocators? should i just apply these?
-- Pe
vpkt->size before buf[10];
> +av_log(avctx, AV_LOG_WARNING, "this is a thumbnails file, "
> + "reading first thumbnail only\n");
> +} else if (avpkt->size < 786432) {
> +return AVERROR_INVALIDDATA;
> +}
> +
> +
path to libfuzzer
--ignore-tests=TESTS comma-separated list (without "fate-" prefix
in the name) of tests whose result is ignored
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP
compiler host OS [$target_os]
--extra-cflags=ECFLAGS add ECFLAGS to CFLAGS [$CFLAGS]
--extra-cxxflags=ECFLAGS add ECFLAGS to CXXFLAGS [$CXXFLAGS]
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
refix
toolchain
valgrind
+windres
x86asmexe
"
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.o
4704,18816, 0x6a7f3268
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
];
DECLARE_ALIGNED(16, int16_t, filter)[DST_MAX_ELEMENTS][16][256];
DSDContext dsdctx[DST_MAX_CHANNELS];
} DSTContext;
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
___
ffmpeg
On Sat, Dec 22, 2018 at 12:26:05AM +0100, Carl Eugen Hoyos wrote:
> 2018-12-21 3:32 GMT+01:00, Peter Ross :
> > ---
> > the dst sample file is 40 kilobytes.
>
> You could attach it...
here is the file. cheers,
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
ext(AVCodecContext *dst, const AVCodecContext
*src)
{
Vp3DecodeContext *s = dst->priv_data, *s1 = src->priv_data;
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
___
ffmpeg-deve
identical to the reference decoder.
I have tested it on x86 and arm, but not done fuzzing to find hangs.
Suggetions how to improve it are most welcome.
Peter Ross (4):
vp3: ref_frame/ref_frames are only required when HAVE_THREADS=1
vp3dsp: add 12 pixel loop filter functions
VP4 data tables
8_t *first_pixel, ptrdiff_t stride, int
*bounding_values);
+
void ff_vp3dsp_init(VP3DSPContext *c, int flags);
void ff_vp3dsp_init_arm(VP3DSPContext *c, int flags);
void ff_vp3dsp_init_ppc(VP3DSPContext *c, int flags);
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
s
/vp4data.h
@@ -0,0 +1,3784 @@
+/*
+ * Copyright (C) 2019 Peter Ross
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
rops = AV_CODEC_PROP_LOSSY,
},
{
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index a5d8c2ed0b..127189a22b 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2003-2004 The FFmpeg project
+ * Copyright (C) 2019 Peter Ross
*
* This file is part
WL64A(status + 8, (RL64A(status + 8) << 1) | ((RL64A(status) >>
63) & 1));
+WL64A(status, (RL64A(status) << 1) | v);
}
}
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
On Sun, Jan 06, 2019 at 10:11:14AM +0100, Paul B Mahol wrote:
> On 1/6/19, Peter Ross wrote:
> > ---
> > Changelog | 1 +
> > doc/general.texi| 2 +
> > libavcodec/codec_desc.c | 2 +-
> &g
101 - 200 of 626 matches
Mail list logo