projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
58f24ad
8191f96
)
Merge commit '8191f960a669819db4de33a2439ded1630b8a73e'
author
Clément Bœsch
<u@pkh.me>
Wed, 29 Mar 2017 12:22:32 +0000
(14:22 +0200)
committer
Clément Bœsch
<u@pkh.me>
Wed, 29 Mar 2017 12:22:32 +0000
(14:22 +0200)
* commit '
8191f960a669819db4de33a2439ded1630b8a73e
':
examples/decode_video: constify the AVCodec instance
Merged-by: Clément Bœsch <u@pkh.me>
1
2
doc/examples/decode_video.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
doc/examples/decode_video.c
index
1597653
,
4036dbe
..
dd1177b
---
1
/
doc/examples/decode_video.c
---
2
/
doc/examples/decode_video.c
+++ b/
doc/examples/decode_video.c
@@@
-79,12
-53,13
+79,12
@@@
static int decode_write_frame(const cha
int main(int argc, char **argv)
{
const char *filename, *outfilename;
- AVCodec *codec;
+
const
AVCodec *codec;
AVCodecContext *c= NULL;
- int frame
, got_picture, len
;
+ int frame
_count
;
FILE *f;
- AVFrame *
pictur
e;
+ AVFrame *
fram
e;
uint8_t inbuf[INBUF_SIZE + AV_INPUT_BUFFER_PADDING_SIZE];
- char buf[1024];
AVPacket avpkt;
if (argc <= 2) {