summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-14 11:09:24 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-14 11:09:24 +0000
commitfdb18951f1fd03dbe804c55ea4adaf49cba165ec (patch)
treef8754c0a92a5fef5deeac2b687b3a1d66dcc7c05 /libmpcodecs
parent24dadf50a3ea4b5a75f066adc00bbf8fd0f10789 (diff)
downloadmpv-fdb18951f1fd03dbe804c55ea4adaf49cba165ec.tar.bz2
mpv-fdb18951f1fd03dbe804c55ea4adaf49cba165ec.tar.xz
Remove useless casts.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30563 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vd_theora.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vd_theora.c b/libmpcodecs/vd_theora.c
index 882f4774bf..6f6fb16610 100644
--- a/libmpcodecs/vd_theora.c
+++ b/libmpcodecs/vd_theora.c
@@ -131,7 +131,7 @@ static int init(sh_video_t *sh){
*/
static void uninit(sh_video_t *sh)
{
- theora_struct_t *context = (theora_struct_t *)sh->context;
+ theora_struct_t *context = sh->context;
if (context)
{
@@ -147,7 +147,7 @@ static void uninit(sh_video_t *sh)
*/
static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags)
{
- theora_struct_t *context = (theora_struct_t *)sh->context;
+ theora_struct_t *context = sh->context;
int errorCode = 0;
ogg_packet op;
yuv_buffer yuv;