summaryrefslogtreecommitdiffstats
path: root/libmpdemux/mpeg_hdr.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-05-04 22:12:55 +0200
committerUoti Urpala <uau@mplayer2.org>2011-05-06 18:33:16 +0300
commitb68f9fef32971095836ea6bbeb2f12af417120d2 (patch)
tree46288d0356764318d595a946d22ca31eaf6b0101 /libmpdemux/mpeg_hdr.c
parent40f6ab5064a628dc11b79b5e571dc9444efac093 (diff)
downloadmpv-b68f9fef32971095836ea6bbeb2f12af417120d2.tar.bz2
mpv-b68f9fef32971095836ea6bbeb2f12af417120d2.tar.xz
cleanup: shut up more warnings
Diffstat (limited to 'libmpdemux/mpeg_hdr.c')
-rw-r--r--libmpdemux/mpeg_hdr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmpdemux/mpeg_hdr.c b/libmpdemux/mpeg_hdr.c
index b42f7e86c2..2a00727e3a 100644
--- a/libmpdemux/mpeg_hdr.c
+++ b/libmpdemux/mpeg_hdr.c
@@ -25,7 +25,7 @@
#include "config.h"
#include "mpeg_hdr.h"
-
+#include "libavutil/attributes.h"
#include "mp_msg.h"
static float frameratecode2framerate[16] = {
@@ -45,7 +45,7 @@ static float frameratecode2framerate[16] = {
int mp_header_process_sequence_header (mp_mpeg_header_t * picture, const unsigned char * buffer)
{
- int width, height;
+ int width av_unused, height;
if ((buffer[6] & 0x20) != 0x20){
fprintf(stderr, "missing marker bit!\n");
@@ -209,7 +209,7 @@ static int read_timeinc(mp_mpeg_header_t * picture, unsigned char * buffer, int
int mp4_header_process_vol(mp_mpeg_header_t * picture, unsigned char * buffer)
{
- unsigned int n, aspect=0, aspectw=0, aspecth=0, x=1, v;
+ unsigned int n, aspect=0, aspectw av_unused=0, aspecth av_unused=0, x=1, v;
//begins with 0x0000012x
picture->fps = 0;