mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 17:32:06 +00:00
avcodec/fitsenc: Don't cast const away unnecessarily
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
90c38612f8
commit
0213363175
@ -36,9 +36,8 @@
|
||||
#include "encode.h"
|
||||
|
||||
static int fits_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
||||
const AVFrame *pict, int *got_packet)
|
||||
const AVFrame *p, int *got_packet)
|
||||
{
|
||||
AVFrame * const p = (AVFrame *)pict;
|
||||
uint8_t *bytestream, *ptr;
|
||||
const uint16_t flip = (1 << 15);
|
||||
uint64_t data_size = 0, padded_data_size = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user