aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Paul Saman <jean-paul.saman@m2x.nl>2011-09-01 10:40:39 +0200
committerJean-Paul Saman <jean-paul.saman@m2x.nl>2011-09-01 10:40:39 +0200
commit53be8f3b1932bd6ee2ec04cf7afc7f9ba01b7a86 (patch)
tree0362be7c4bdd9774bfbed0b22584945c77b918fa
parenta437933a756c91ce75a84362184f8b78e9bfc0c0 (diff)
example/get_pcr_pid.c: oops made a mistake.0.2.1
-rw-r--r--examples/get_pcr_pid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/get_pcr_pid.c b/examples/get_pcr_pid.c
index e2032f7..78d20db 100644
--- a/examples/get_pcr_pid.c
+++ b/examples/get_pcr_pid.c
@@ -202,7 +202,7 @@ int main( int i_argc, char **pp_argv )
free( p_buffer );
out:
- if ( p_dvbpsi_fd ) dvbpsi_DetachPAT( p_dvbpsi_fd );
+ if ( p_pat_dvbpsi_fd ) dvbpsi_DetachPAT( p_pat_dvbpsi_fd );
close( i_fd );
fprintf( stderr, "no PAT/PMT found\n" );

Privacy Policy