Message ID | GV1P250MB0737BBFDA527F42111F6DBDE8F3AA@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Headers | show |
Series | [FFmpeg-devel,1/4] avcodec/msrleenc: Replace stray \r by \n | expand |
Context | Check | Description |
---|---|---|
yinshiyou/configure_loongarch64 | warning | Failed to apply patch |
andriy/configure_x86 | warning | Failed to apply patch |
sön 2023-07-16 klockan 16:49 +0200 skrev Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> > --- > libavcodec/msrleenc.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/msrleenc.c b/libavcodec/msrleenc.c > index b73aa5e384..e48d11a0f7 100644 > --- a/libavcodec/msrleenc.c > +++ b/libavcodec/msrleenc.c > @@ -234,7 +234,8 @@ static int encode(AVCodecContext *avctx, AVPacket > *pkt, > } > bytestream_put_be16(&data, 0x0001); // end of bitmap > pkt->size = data - pkt->data; > - return 0; > } > + return 0; > +} Patchset looks OK /Tomas
diff --git a/libavcodec/msrleenc.c b/libavcodec/msrleenc.c index b73aa5e384..e48d11a0f7 100644 --- a/libavcodec/msrleenc.c +++ b/libavcodec/msrleenc.c @@ -234,7 +234,8 @@ static int encode(AVCodecContext *avctx, AVPacket *pkt, } bytestream_put_be16(&data, 0x0001); // end of bitmap pkt->size = data - pkt->data; - return 0; } + return 0; +} static int msrle_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/msrleenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) const AVFrame *pict, int *got_packet)