Revision 735a3804 libavcodec/libschroedingerenc.c

View differences:

libavcodec/libschroedingerenc.c
150 150
                                          "gop_structure",
151 151
                                          SCHRO_ENCODER_GOP_INTRA_ONLY);
152 152

  
153
        if (avccontext->coder_type == FF_CODER_TYPE_VLC) {
153
        if (avccontext->coder_type == FF_CODER_TYPE_VLC)
154 154
            schro_encoder_setting_set_double (p_schro_params->encoder,
155 155
                                              "enable_noarith", 1);
156
        }
157 156
    }
158 157
    else {
159 158
        schro_encoder_setting_set_double (p_schro_params->encoder,
......
194 193

  
195 194
    }
196 195

  
197
    if (avccontext->flags & CODEC_FLAG_INTERLACED_ME) {
196
    if (avccontext->flags & CODEC_FLAG_INTERLACED_ME)
198 197
        /* All material can be coded as interlaced or progressive
199 198
           irrespective of the type of source material. */
200 199
        schro_encoder_setting_set_double (p_schro_params->encoder,
201 200
                                            "interlaced_coding", 1);
202
    }
203 201

  
204 202
    /* FIXME: Signal range hardcoded to 8-bit data until both libschroedinger
205 203
     * and libdirac support other bit-depth data. */
......
324 322
            p_frame_output->size     = p_schro_params->enc_buf_size;
325 323
            p_frame_output->p_encbuf = p_schro_params->enc_buf;
326 324
            if (SCHRO_PARSE_CODE_IS_INTRA(parse_code) &&
327
                SCHRO_PARSE_CODE_IS_REFERENCE(parse_code)) {
325
                SCHRO_PARSE_CODE_IS_REFERENCE(parse_code))
328 326
                p_frame_output->key_frame = 1;
329
            }
330 327

  
331 328
            /* Parse the coded frame number from the bitstream. Bytes 14
332 329
             * through 17 represesent the frame number. */

Also available in: Unified diff