projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
544380a
)
avformat/adtsenc: buf isnt changed in adts_decode_extradata(), make it const
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 22 Sep 2014 16:47:14 +0000
(18:47 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 22 Sep 2014 16:47:14 +0000
(18:47 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/adtsenc.c
patch
|
blob
|
history
diff --git
a/libavformat/adtsenc.c
b/libavformat/adtsenc.c
index
d624b79
..
89c8869
100644
(file)
--- a/
libavformat/adtsenc.c
+++ b/
libavformat/adtsenc.c
@@
-45,7
+45,7
@@
typedef struct {
#define ADTS_MAX_FRAME_BYTES ((1 << 13) - 1)
-static int adts_decode_extradata(AVFormatContext *s, ADTSContext *adts, uint8_t *buf, int size)
+static int adts_decode_extradata(AVFormatContext *s, ADTSContext *adts,
const
uint8_t *buf, int size)
{
GetBitContext gb;
PutBitContext pb;