summaryrefslogtreecommitdiffstats
path: root/libhb/audio_resample.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2012-09-16 18:33:09 +0000
committerRodeo <[email protected]>2012-09-16 18:33:09 +0000
commita8c6d0b29b66f87fd67a802f837c8966c7338ba6 (patch)
tree384c768ceb89577768e5d2d24b60a52fee531d4c /libhb/audio_resample.c
parent1faac76d071993d03fb93ad8e58b3ef41e9b4c2a (diff)
hb_audio_resample: remove unnecessary check.
Not sure why I thought this was needed. Apologies if I break anything. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4965 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/audio_resample.c')
-rw-r--r--libhb/audio_resample.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libhb/audio_resample.c b/libhb/audio_resample.c
index bd9cbf61c..927a3b7c4 100644
--- a/libhb/audio_resample.c
+++ b/libhb/audio_resample.c
@@ -113,8 +113,7 @@ int hb_audio_resample_update(hb_audio_resample_t *resample)
int ret, resample_changed;
resample->resample_needed =
- (resample->resample_needed ||
- resample->out.sample_fmt != resample->in.sample_fmt ||
+ (resample->out.sample_fmt != resample->in.sample_fmt ||
resample->out.channel_layout != resample->in.channel_layout);
resample_changed =