Move internal function ff_set_systematic_pal() to libavcore, and
rename it ff_set_systematic_pal2(). Originally committed as revision 25712 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include "libavutil/crc.h"
|
||||
#include "libavutil/pixdesc.h"
|
||||
#include "libavcore/imgutils.h"
|
||||
#include "libavcore/internal.h"
|
||||
#include "libavcore/samplefmt.h"
|
||||
#include "avcodec.h"
|
||||
#include "dsputil.h"
|
||||
@@ -323,7 +324,7 @@ int avcodec_default_get_buffer(AVCodecContext *s, AVFrame *pic){
|
||||
buf->data[i] = buf->base[i] + FFALIGN((buf->linesize[i]*EDGE_WIDTH>>v_shift) + (EDGE_WIDTH>>h_shift), stride_align[i]);
|
||||
}
|
||||
if(size[1] && !size[2])
|
||||
ff_set_systematic_pal((uint32_t*)buf->data[1], s->pix_fmt);
|
||||
ff_set_systematic_pal2((uint32_t*)buf->data[1], s->pix_fmt);
|
||||
buf->width = s->width;
|
||||
buf->height = s->height;
|
||||
buf->pix_fmt= s->pix_fmt;
|
||||
|
Reference in New Issue
Block a user