mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
examples/decode_video: constify the AVCodec instance
This commit is contained in:
parent
5b4d7ac7ae
commit
8191f960a6
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ static void pgm_save(unsigned char *buf, int wrap, int xsize, int ysize,
|
|||
int main(int argc, char **argv)
|
||||
{
|
||||
const char *filename, *outfilename;
|
||||
AVCodec *codec;
|
||||
const AVCodec *codec;
|
||||
AVCodecContext *c= NULL;
|
||||
int frame, got_picture, len;
|
||||
FILE *f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue