diff options
author | Martin Storsjö <martin@martin.st> | 2013-01-07 22:02:07 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-01-08 17:43:11 +0200 |
commit | 9c80ed836a511293f4cc3a858060969d32f2b1ce (patch) | |
tree | 34fc6b8e66cfc0229b146a0ff93a327109b1fbc7 | |
parent | 09ed8098ff66b2a606cdb6b92a97ca00d0ca04eb (diff) | |
download | ffmpeg-9c80ed836a511293f4cc3a858060969d32f2b1ce.tar.gz |
rtpdec_vp8: Avoid a warning about a possibly unused variable
The warning is a false positive, but I prefer actually initializing
it over masking it with av_uninit, since the code is not performance
critical.
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavformat/rtpdec_vp8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec_vp8.c b/libavformat/rtpdec_vp8.c index 966f7b8734..13efa54421 100644 --- a/libavformat/rtpdec_vp8.c +++ b/libavformat/rtpdec_vp8.c @@ -70,7 +70,7 @@ static int vp8_handle_packet(AVFormatContext *ctx, PayloadContext *vp8, int extended_bits, part_id; int pictureid_present = 0, tl0picidx_present = 0, tid_present = 0, keyidx_present = 0; - int pictureid = -1, pictureid_mask; + int pictureid = -1, pictureid_mask = 0; int returned_old_frame = 0; uint32_t old_timestamp; |