Message ID | CAFY3TqJgOiUo2h3vX7NGm+aH-tFLtZ3sEBpf8ssf9=Bo5ijjDw@mail.gmail.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,1/1] libavformat/rtpenc_jpeg.c: add support for the DRI marker | expand |
Context | Check | Description |
---|---|---|
andriy/configure_x86 | warning | Failed to apply patch |
yinshiyou/configure_loongarch64 | warning | Failed to apply patch |
On Fri, Jan 26, 2024 at 11:12:53AM -0700, Sebastien Cote wrote: > This patch adds support for the DRI marker in the JPEG RTP payloader. > > --- > libavformat/rtpenc_jpeg.c | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > > diff --git a/libavformat/rtpenc_jpeg.c b/libavformat/rtpenc_jpeg.c > index e4e95931f4..60f56680e2 100644 > --- a/libavformat/rtpenc_jpeg.c > +++ b/libavformat/rtpenc_jpeg.c > @@ -33,6 +33,7 @@ void ff_rtp_send_jpeg(AVFormatContext *s1, const > uint8_t *buf, int size) patch corrupted by line breaks Applying: libavformat/rtpenc_jpeg.c: add support for the DRI marker error: corrupt patch at line 10 [...]
diff --git a/libavformat/rtpenc_jpeg.c b/libavformat/rtpenc_jpeg.c index e4e95931f4..60f56680e2 100644 --- a/libavformat/rtpenc_jpeg.c +++ b/libavformat/rtpenc_jpeg.c @@ -33,6 +33,7 @@ void ff_rtp_send_jpeg(AVFormatContext *s1, const uint8_t *buf, int size) uint8_t type = 2; /* initialized non-0/1 value for RTP/JPEG type check*/ uint8_t w, h; uint8_t *p; + uint16_t rst_marker_interval = 0; int off = 0; /* fragment offset of the current JPEG frame */ int len;