diff options
author | wm4 <wm4@nowhere> | 2015-04-10 21:02:16 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-04-10 21:02:16 +0200 |
commit | 41151122e73f82d0bc9a806c80165878e930dc07 (patch) | |
tree | 6db2f28cf57cba6fcfe20f9229c4b9e27343cca1 /video/mp_image.c | |
parent | b3495d9ccf5ad1d5d84284affed1083eee5887ee (diff) | |
download | mpv-41151122e73f82d0bc9a806c80165878e930dc07.tar.bz2 mpv-41151122e73f82d0bc9a806c80165878e930dc07.tar.xz |
mp_image: remove redundant chroma_x/y_shift fields
Diffstat (limited to 'video/mp_image.c')
-rw-r--r-- | video/mp_image.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/video/mp_image.c b/video/mp_image.c index 2c1e01cef9..c4ad6bd4c2 100644 --- a/video/mp_image.c +++ b/video/mp_image.c @@ -148,8 +148,6 @@ void mp_image_setfmt(struct mp_image *mpi, int out_fmt) mpi->fmt = fmt; mpi->flags = fmt.flags; mpi->imgfmt = fmt.id; - mpi->chroma_x_shift = fmt.chroma_xs; - mpi->chroma_y_shift = fmt.chroma_ys; mpi->num_planes = fmt.num_planes; mp_image_set_size(mpi, mpi->w, mpi->h); } |