summaryrefslogtreecommitdiff
path: root/libavformat/nuv.c
diff options
context:
space:
mode:
authorNicholas Tung <ntung@ntung.com>2007-04-08 20:24:16 +0000
committerDiego Biurrun <diego@biurrun.de>2007-04-08 20:24:16 +0000
commite4141433ead866d1b359c0cbf3e4d5180477206d (patch)
treee2878410dbdf558dfb561f28cf29585c3896918d /libavformat/nuv.c
parent119e48d9607e1a43c5ff021b5345bbd62eef3926 (diff)
Get rid of unnecessary pointer casts.
patch by Nicholas Tung, ntung ntung com Originally committed as revision 8687 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nuv.c')
-rw-r--r--libavformat/nuv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/nuv.c b/libavformat/nuv.c
index feb1d3060a..cd5ece7749 100644
--- a/libavformat/nuv.c
+++ b/libavformat/nuv.c
@@ -115,7 +115,7 @@ static int get_codec_data(ByteIOContext *pb, AVStream *vst,
}
static int nuv_header(AVFormatContext *s, AVFormatParameters *ap) {
- NUVContext *ctx = (NUVContext *)s->priv_data;
+ NUVContext *ctx = s->priv_data;
ByteIOContext *pb = &s->pb;
char id_string[12], version_string[5];
double aspect, fps;
@@ -178,7 +178,7 @@ static int nuv_header(AVFormatContext *s, AVFormatParameters *ap) {
#define HDRSIZE 12
static int nuv_packet(AVFormatContext *s, AVPacket *pkt) {
- NUVContext *ctx = (NUVContext *)s->priv_data;
+ NUVContext *ctx = s->priv_data;
ByteIOContext *pb = &s->pb;
uint8_t hdr[HDRSIZE];
frametype_t frametype;