Revision 03ff6116

View differences:

libavcodec/imgconvert.c
814 814
                h= -((-height)>>desc->log2_chroma_h);
815 815
            }
816 816
            av_image_copy_plane(dst_data[i], dst_linesize[i],
817
                              src_data[i], src_linesize[i],
818
                              bwidth, h);
817
                                src_data[i], src_linesize[i],
818
                                bwidth, h);
819 819
        }
820 820
        break;
821 821
    case FF_PIXEL_PALETTE:
822 822
        av_image_copy_plane(dst_data[0], dst_linesize[0],
823
                          src_data[0], src_linesize[0],
824
                          width, height);
823
                            src_data[0], src_linesize[0],
824
                            width, height);
825 825
        /* copy the palette */
826 826
        memcpy(dst_data[1], src_data[1], 4*256);
827 827
        break;

Also available in: Unified diff