Eliminate pointless '#if 1' statements without matching '#else'.
This commit is contained in:
parent
9d35fa520e
commit
e6ff064845
11 changed files with 10 additions and 36 deletions
|
|
@ -175,7 +175,6 @@ static void build_frame_code(AVFormatContext *s){
|
|||
}
|
||||
|
||||
key_frame= intra_only;
|
||||
#if 1
|
||||
if(is_audio){
|
||||
int frame_bytes= codec->frame_size*(int64_t)codec->bit_rate / (8*codec->sample_rate);
|
||||
int pts;
|
||||
|
|
@ -199,7 +198,6 @@ static void build_frame_code(AVFormatContext *s){
|
|||
ft->pts_delta=1;
|
||||
start2++;
|
||||
}
|
||||
#endif
|
||||
|
||||
if(codec->has_b_frames){
|
||||
pred_count=5;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue