Skip to content

Commit

Permalink
ao_mpegpes.c: Put code accessing DVB devices under CONFIG_DVB.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@38241 b3059339-0415-0410-9bf9-f77b7e298cf2
  • Loading branch information
reimar committed Jan 25, 2021
1 parent 57c91af commit 9394a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libao2/ao_mpegpes.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ static int preinit(const char *arg)
mp_msg(MSGT_VO, MSGL_ERR, "AO_MPEGPES, Unrecognized options\n");
return -1;
}
#ifdef CONFIG_DVB
if(card==-1)
{
//search the first usable card
Expand All @@ -183,7 +184,6 @@ static int preinit(const char *arg)
}
card--;

#ifdef CONFIG_DVB
if(!ao_file)
return init_device(card);
#else
Expand Down

0 comments on commit 9394a37

Please sign in to comment.