Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -234,7 +234,8 @@ static int encode(AVCodecContext *avctx, AVPacket *pkt, · 233 unmodified lines | |||
| 234 | } | 234 | } |
| 235 | bytestream_put_be16(&data, 0x0001); // end of bitmap | 235 | bytestream_put_be16(&data, 0x0001); // end of bitmap |
| 236 | pkt->size = data - pkt->data; | 236 | pkt->size = data - pkt->data; |
| 237 | return 0; } | 237 | return 0; |
| 238 | } | ||
| 238 | 239 | ||
| 239 | static int msrle_encode_frame(AVCodecContext *avctx, AVPacket *pkt, | 240 | static int msrle_encode_frame(AVCodecContext *avctx, AVPacket *pkt, |
| 240 | const AVFrame *pict, int *got_packet) | 241 | const AVFrame *pict, int *got_packet) |