diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-01-21 00:45:28 +0100 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2011-01-25 02:29:31 +0200 |
commit | 83f37b54dedcfdb07684010571137697b3955b09 (patch) | |
tree | 31fcfbf1d582c64de3e607525e5a8a241d240771 /libmpcodecs/vf_tfields.c | |
parent | 23ba934ec8ff9472ea09c0668351d3384a027aae (diff) | |
download | mpv-83f37b54dedcfdb07684010571137697b3955b09.tar.bz2 mpv-83f37b54dedcfdb07684010571137697b3955b09.tar.xz |
cleanup: remove unused MEncoder-related code
Remove some code and variables that were no longer used after MEncoder
removal. Also remove some MEncoder references in comments.
Diffstat (limited to 'libmpcodecs/vf_tfields.c')
-rw-r--r-- | libmpcodecs/vf_tfields.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/libmpcodecs/vf_tfields.c b/libmpcodecs/vf_tfields.c index ee50d4f6ca..52cd0b5684 100644 --- a/libmpcodecs/vf_tfields.c +++ b/libmpcodecs/vf_tfields.c @@ -336,8 +336,6 @@ static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts) return continue_buffered_image(vf); } -extern const int under_mencoder; - static int continue_buffered_image(struct vf_instance *vf) { int i=vf->priv->buffered_i; @@ -390,8 +388,7 @@ static int continue_buffered_image(struct vf_instance *vf) dmpi->stride[2] = 2*mpi->stride[2]; } ret |= vf_next_put_image(vf, dmpi, pts); - if (!under_mencoder) - break; + break; } break; case 1: @@ -418,8 +415,7 @@ static int continue_buffered_image(struct vf_instance *vf) mpi->chroma_width, mpi->chroma_height, (i^!tff)); } ret |= vf_next_put_image(vf, dmpi, pts); - if (!under_mencoder) - break; + break; } break; case 2: @@ -442,8 +438,7 @@ static int continue_buffered_image(struct vf_instance *vf) dmpi->stride[2], mpi->stride[2]*2, (i^!tff)); } ret |= vf_next_put_image(vf, dmpi, pts); - if (!under_mencoder) - break; + break; } break; } |