lavc/nvenc: misc cosmetics to reduce diff with Libav

pull/244/merge
Clément Bœsch 8 years ago
parent e849296d0a
commit b7cc4eb303
  1. 4
      libavcodec/nvenc.c

@ -883,7 +883,7 @@ static av_cold int nvenc_setup_hevc_config(AVCodecContext *avctx)
hevc->outputPictureTimingSEI = 1;
}
switch(ctx->profile) {
switch (ctx->profile) {
case NV_ENC_HEVC_PROFILE_MAIN:
cc->profileGUID = NV_ENC_HEVC_PROFILE_MAIN_GUID;
avctx->profile = FF_PROFILE_HEVC_MAIN;
@ -1299,7 +1299,7 @@ static NvencSurface *get_free_frame(NvencContext *ctx)
{
int i;
for (i = 0; i < ctx->nb_surfaces; ++i) {
for (i = 0; i < ctx->nb_surfaces; i++) {
if (!ctx->surfaces[i].lockCount) {
ctx->surfaces[i].lockCount = 1;
return &ctx->surfaces[i];

Loading…
Cancel
Save