History

avcodec/ituh263enc: Remove redundant setting of dc_scale_tables

ff_mpeg1_dc_scale_table is already the default dc_scale table for both y and c.

Andreas Rheinhardt committed 1 year ago

Commit f67e5bf1 parent 94f36421 file · +0 −4Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/ituh263enc.c+0−4
@@ -36,7 +36,6 @@ · 35 unmodified lines
36#include "avcodec.h"36#include "avcodec.h"
37#include "codec_internal.h"37#include "codec_internal.h"
38#include "mpegvideo.h"38#include "mpegvideo.h"
39#include "mpegvideodata.h"
40#include "flvenc.h"39#include "flvenc.h"
41#include "mpegvideoenc.h"40#include "mpegvideoenc.h"
42#include "h263.h"41#include "h263.h"
@@ -862,9 +861,6 @@ av_cold void ff_h263_encode_init(MpegEncContext *s) · 819 unmodified lines
862 if(s->h263_aic){861 if(s->h263_aic){
863 s->y_dc_scale_table=862 s->y_dc_scale_table=
864 s->c_dc_scale_table= ff_aic_dc_scale_table;863 s->c_dc_scale_table= ff_aic_dc_scale_table;
865 }else{
866 s->y_dc_scale_table=
867 s->c_dc_scale_table= ff_mpeg1_dc_scale_table;
868 }864 }
869 865
870#if CONFIG_H263_ENCODER // Snow and SVQ1 call this866#if CONFIG_H263_ENCODER // Snow and SVQ1 call this

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t