aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-07-16 16:29:07 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-07-17 16:18:18 +0200
commita054ceb4e274b2e2edbf095ed9766d370f782e4d (patch)
tree1857619ec810f3af9366ee26c23494414773644e
parent463a472426cc665e64e1c6f6677bb2142abe85e3 (diff)
downloadffmpeg-a054ceb4e274b2e2edbf095ed9766d370f782e4d.tar.gz
avcodec/msrleenc: Replace stray \r by \n
Reviewed-by: Tomas Härdin <git@haerdin.se> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/msrleenc.c3
1 files changed, 2 insertions, 1 deletions
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,
const AVFrame *pict, int *got_packet)